Hey guys, upon having researched some issues with my game lately I found something a little interesting about OpenGL out of memory errors I have been having.
Thought I'd add this for the coders from information I found, which is provided on the link about:
- if you've sent a texture to GL and you don't need it anymore in the
app, be sure to free it up from the application. Ex:
char *p = myApp.getTextureData();
glBind(..);
glTexImage2D( ..., p );
myApp.freeTextureData( p ); //free up the application's copy
If you forget to do this, you can easily find yourself using TWICE the
texture memory required.
Post about this:
viewtopic.php?f=17&t=77049&p=2052260#p2052260
Is this adjustable via the mincraft.jar file somewhere ?