[SailfishDevel] Problem with OpenGL
Ove Kåven
ovek at arcticnet.no
Wed Mar 19 13:40:36 UTC 2014
Den 18. mars 2014 23:11, skrev Iosif Hamlatzis:
> In SailfishOS the call to
>
>
>
>
> glGenTextures( 1, &(pSurfaceNode->g_surfaceID) );
>
> GLenum err_ = glGetError();
>
>
> fails and it returns error code 1280.
Not necessarily. This is the first call to glGetError in that function.
Since old GL errors aren't cleared before the next call to glGetError,
the error could already have been set long before you called glGenTextures.
More information about the Devel
mailing list