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

Add missing includes for GLushort & GLfloat definitions #62

Closed
wants to merge 3 commits into from
Closed

Conversation

bpepple
Copy link

@bpepple bpepple commented Aug 21, 2012

mx/mx-deform-texture.c and mx/mx-texture-frame.c use definitions from GL/gl.h, but the includes aren't in the src files resulting in the following build errors:

../mx/mx-deform-texture.c: In function 'mx_deform_texture_init_arrays':
../mx/mx-deform-texture.c:496:3: error: unknown type name 'GLushort'
../mx/mx-deform-texture.c:498:3: error: unknown type name 'GLushort'
../mx/mx-deform-texture.c:506:20: error: 'GLushort' undeclared (first use in this function)


../mx/mx-texture-frame.c:203:5: error: unknown type name 'GLfloat'

The following pull request should fix this.

@bpepple
Copy link
Author

bpepple commented Aug 25, 2012

Makes sense. Commit 92e456a replaces the GL types with the equivalent glib type.

@djdeath
Copy link
Contributor

djdeath commented Aug 29, 2012

Pushed to mx-1.4.

@djdeath djdeath closed this Aug 29, 2012
@Qrkv
Copy link

Qrkv commented Mar 9, 2013

bpepple is correct .. this works ..

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.

None yet

3 participants