This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Textures in opengl es..


Textures in opengl es..

Postby RapchikProgrammer » Nov 13, 2009 @ 8:41am

Hey, im using edgelib to handle the textures in my game and handling the geometry myself.. now i see we can upload and bind textures but no wrapper for glDeleteTextures ?? i have hacked a way right now by calling getintegerv but no proper way to unload textures from gpu??
RapchikProgrammer
pm Member
 
Posts: 56
Joined: Oct 18, 2008 @ 7:08am


Postby edge » Nov 16, 2009 @ 9:23pm

Hi,

Right now the only proper way to remove a texture from the GPU is to call Free() on the texture object. Releasing textures yourself can create undefined behaviour when the texture is freed after that (it may delete a texture handle used by another surface).
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron