Ticket #1138 (closed defect: fixed)
[PATCH] Resolve GLSL shader support compile errors
| Reported by: | Echelon9 | Owned by: | |
|---|---|---|---|
| Priority: | Must Have | Milestone: | Alpha 9 |
| Component: | Core engine | Keywords: | GLSL, shaders |
| Cc: |
Description
Changeset r10978 introduced GLSL support (http://trac.wildfiregames.com/changeset/10978)
There is a mistake in the way the class CShaderProgramGLSL implements pglCreateShaderObjectARB(). pglCreateShaderObjectARB()'s return type is GLhandleARB, and thus m_Program, m_VertexShader and m_FragmentShader should be variables of type GLhandleARB.
Patch attached to fix this.
Attachments
Change History
Changed 4 months ago by Echelon9
- Attachment t1138-GLSL-compile-fix.patch added
Note: See
TracTickets for help on using
tickets.

Proposed fix for GLSL shader support compilation