Bug 778129 - GLContextProviderEGL.cpp fails to compile on mingw-w64 r=snorp

This commit is contained in:
Jacek Caban 2012-08-02 15:58:34 +02:00
parent e8272185fa
commit d93368b996

View File

@ -945,7 +945,7 @@ GLContextEGL::CreateSharedHandle(TextureImage::TextureShareType aType,
if (!mShareWithEGLImage)
return 0;
GLuint texture = (GLuint)aBuffer;
GLuint texture = (uintptr_t)aBuffer;
EGLTextureWrapper* tex = new EGLTextureWrapper();
if (!tex->CreateEGLImage(this, texture)) {
NS_ERROR("EGLImage creation for EGLTextureWrapper failed");