Skip to content

Conversation

ChristophHaag
Copy link

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

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

DuFF14 commented Aug 9, 2016

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants