OSVR-Unity-Rendering icon indicating copy to clipboard operation
OSVR-Unity-Rendering copied to clipboard

fix cast from void* to Gluint

Open ChristophHaag opened this issue 9 years ago • 1 comments

gcc complained OsvrRenderingPlugin.cpp:788:44: error: cast from 'void*' to 'GLuint {aka unsigned int}' loses precision [-fpermissive]

ChristophHaag avatar Aug 09 '16 21:08 ChristophHaag

Thanks. OpenGL path is not working, so this code is going to change soon anyway. Unity casts it this way in their example plugin: GLuint glTex = (GLuint)(size_t)s_leftEyeTexturePtr;

DuFF14 avatar Aug 09 '16 21:08 DuFF14