Topic locked

XCode 6 Deleting Textures

October 17, 2014 - 5:10am #3

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

October 17, 2014 - 5:16am #2

Solution:

#import <OpenGLES/ES2/gl.h> 

XCode 6 Deleting Textures

October 17, 2014 - 7:44am #1

Yep.

This is also mentioned in this sticky notice:

https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility

 

Topic locked