Video RAM problem???
Does OpenGL frees video RAM when an app is done ? It seems that a terrible problem sucks up all the video RAM of a GeForce when I try my app. It happens since I tried textures, so I suppose it is the problem. I tried to free the VRAM myself, but I ain''t sure I do it the right way.
Tips?
Eric Laberge
----------------------------------------"Inash neteia haeg joa kavari quilm..." SD4
When you glGenTextures() you must also glDeleteTextures(), ofcourse.
GLuint nTex[10];
glGenTextures(10, nTex);
glDeleteTextures(10, nTex);
----------
Drago
GLuint nTex[10];
glGenTextures(10, nTex);
glDeleteTextures(10, nTex);
----------
Drago
osu!
Note that when you keep on creating new textures with OpenGL, if your high performance memory (Video Ram) is depleted, OpenGL will create the textures in low performance memory (System Ram).
----------
Drago
----------
Drago
osu!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement