By bodeme
on Fri, 10/17/2014 - 14:45
Hi,
since upgrading to xcode 6 and deploying my code with Vuforia SDK 3.0.9 to an iOS 8 device I cannot prevent memory leaks by a
glDeleteTextures(1, &textureId);
during deallocation of textures and loading bitmaps for generating new textures (like in the image targets example with interchangable textures)
The error during build is:
Use of undeclared identifier 'glDeleteTextures'
Does anyone has a solution for fixing that?
Greetings
XCode 6 Deleting Textures
Solution:
#import <OpenGLES/ES2/gl.h>
XCode 6 Deleting Textures
Yep.
This is also mentioned in this sticky notice:
https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility