Permalink
Browse files

glw: Make OpenGL ES code compile again

  • Loading branch information...
1 parent 1eb21e2 commit eb9a2155707d508e09e423575374316cdaf6a70e @andoma committed Oct 10, 2012
Showing with 43 additions and 3 deletions.
  1. +43 −3 src/ui/glw/glw_opengl_es.c
View
@@ -24,7 +24,7 @@
*
*/
void
-glw_wirebox(glw_root_t *gr, glw_rctx_t *rc)
+glw_wirebox(glw_root_t *gr, const glw_rctx_t *rc)
{
// NOT IMPLEMENTED
}
@@ -34,7 +34,7 @@ glw_wirebox(glw_root_t *gr, glw_rctx_t *rc)
*
*/
void
-glw_wirecube(glw_root_t *gr, glw_rctx_t *rc)
+glw_wirecube(glw_root_t *gr, const glw_rctx_t *rc)
{
// NOT IMPLEMENTED
}
@@ -53,7 +53,7 @@ glw_opengl_init_context(glw_root_t *gr)
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_CULL_FACE);
- gbr->gbr_culling = 1;
+ gbr->gbr_frontface = GLW_CCW;
glPixelStorei(GL_UNPACK_ALIGNMENT, 1); // We should try to fix this
@@ -69,3 +69,43 @@ glw_opengl_init_context(glw_root_t *gr)
return glw_opengl_shaders_init(gr);
}
+
+
+
+/**
+ *
+ */
+void
+glw_rtt_init(glw_root_t *gr, glw_rtt_t *grtt, int width, int height,
+ int alpha)
+{
+}
+
+
+/**
+ *
+ */
+void
+glw_rtt_enter(glw_root_t *gr, glw_rtt_t *grtt, glw_rctx_t *rc)
+{
+}
+
+
+/**
+ *
+ */
+void
+glw_rtt_restore(glw_root_t *gr, glw_rtt_t *grtt)
+{
+
+}
+
+
+/**
+ *
+ */
+void
+glw_rtt_destroy(glw_root_t *gr, glw_rtt_t *grtt)
+{
+}
+

0 comments on commit eb9a215

Please sign in to comment.