Searched refs:textureGGLContext (Results 1 – 2 of 2) sorted by relevance
34 const struct GGLContext * textureGGLContext; variable141 const unsigned * data = (const unsigned *)textureGGLContext->textureState.textureData[sampler]; in tex2d()142 const unsigned width = textureGGLContext->textureState.textureDimensions[sampler * 2]; in tex2d()143 const unsigned height = textureGGLContext->textureState.textureDimensions[sampler * 2 + 1]; in tex2d()250 const unsigned * data = (const unsigned *)textureGGLContext->textureState.textureData[sampler]; in texcube()251 const unsigned width = textureGGLContext->textureState.textureDimensions[sampler * 2]; in texcube()252 const unsigned height = textureGGLContext->textureState.textureDimensions[sampler * 2 + 1]; in texcube()
29 extern const struct GGLContext * textureGGLContext; // for getting wrap mode, dimensions, data