Nux

Merge lp:~vanvugt/nux/fix-1068009 into lp:nux

Proposed by Daniel van Vugt
Status: Merged
Approved by: Timo Jyrinki
Approved revision: 692
Merged at revision: 692
Proposed branch: lp:~vanvugt/nux/fix-1068009
Merge into: lp:nux
Diff against target: 23 lines (+8/-0)
1 file modified
NuxGraphics/IOpenGLAsmShader.cpp (+8/-0)
To merge this branch: bzr merge lp:~vanvugt/nux/fix-1068009
Reviewer Review Type Date Requested Status
Timo Jyrinki Approve
PS Jenkins bot continuous-integration Pending
Review via email: mp+130295@code.launchpad.net

Commit message

Fix GLES build failure. (LP: #1067081)

To post a comment you must log in.
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Armel built now successfully (https://launchpad.net/~unity-team/+archive/ppa/+build/3912300), approving.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NuxGraphics/IOpenGLAsmShader.cpp'
2--- NuxGraphics/IOpenGLAsmShader.cpp 2012-10-10 22:46:50 +0000
3+++ NuxGraphics/IOpenGLAsmShader.cpp 2012-10-18 07:50:24 +0000
4@@ -104,12 +104,20 @@
5 }
6
7 IOpenGLAsmVertexShader::IOpenGLAsmVertexShader()
8+#ifndef NUX_OPENGLES_20
9 : IOpenGLAsmShader("VertexProgram", GL_VERTEX_PROGRAM_ARB, RT_GLSL_VERTEXSHADER)
10+#else
11+ : IOpenGLAsmShader("VertexProgram", 0, RT_GLSL_VERTEXSHADER)
12+#endif
13 {
14 }
15
16 IOpenGLAsmPixelShader::IOpenGLAsmPixelShader()
17+#ifndef NUX_OPENGLES_20
18 : IOpenGLAsmShader("PixelProgram", GL_FRAGMENT_PROGRAM_ARB, RT_GLSL_PIXELSHADER)
19+#else
20+ : IOpenGLAsmShader("PixelProgram", 0, RT_GLSL_PIXELSHADER)
21+#endif
22 {
23 }
24

Subscribers

People subscribed via source and target branches