Closed Bug 487848 Opened 16 years ago Closed 16 years ago

[c3d] Constants extracted from gl2.h

Categories

(Core :: Graphics: Canvas2D, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ilmari.heikkinen, Assigned: ilmari.heikkinen)

Details

Attachments

(1 file)

Currently canvas3d uses a mix of constants from OpenGL 2.x headers, instead of OpenGL ES 2.0 headers. The attached patch replaces the constants with GLES 2.0 constants extracted from gl2.h (plus GL_MULTISAMPLE for toggling multisampling on antialiased contexts.) http://www.khronos.org/registry/gles/api/2.0/gl2.h
http://vlad.off.net/hg/canvas3d/rev/53102bc9090f (I nuked the ES_VERSION_2_0 constant, because I'm not sure if it's appropriate)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee: nobody → ilmari.heikkinen
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: