Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cast from void* to Gluint #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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