Index: gpu/command_buffer/client/gles2_demo.cc |
=================================================================== |
--- gpu/command_buffer/client/gles2_demo.cc (revision 37846) |
+++ gpu/command_buffer/client/gles2_demo.cc (working copy) |
@@ -83,6 +83,8 @@ |
transfer_buffer.ptr, |
transfer_buffer_id)); |
+ GLFromCPPInit(); |
+ |
return command_buffer.release() != NULL; |
} |
@@ -97,8 +99,8 @@ |
PostQuitMessage(0); |
break; |
case WM_PAINT: { |
- GLFromCPPTestFunction(); |
- GLFromCTestFunction(); |
+ GLFromCPPDraw(); |
+ GLFromCDraw(); |
// TODO(gman): Not sure how SwapBuffer should be exposed. |
gles2::GetGLContext()->SwapBuffers(); |
break; |