Index: gpu/command_buffer/client/gles2_demo.cc |
=================================================================== |
--- gpu/command_buffer/client/gles2_demo.cc (revision 34064) |
+++ gpu/command_buffer/client/gles2_demo.cc (working copy) |
@@ -10,6 +10,8 @@ |
#include <shellapi.h> |
#include <stdlib.h> |
#include <stdio.h> |
+#include "base/at_exit.h" |
+#include "base/message_loop.h" |
#include "base/ref_counted.h" |
#include "base/shared_memory.h" |
#include "base/scoped_ptr.h" |
@@ -19,6 +21,7 @@ |
#include "gpu/command_buffer/client/gles2_lib.h" |
#include "gpu/command_buffer/client/gles2_demo_c.h" |
#include "gpu/command_buffer/client/gles2_demo_cc.h" |
+#include "gpu/np_utils/np_browser_stub.h" |
apatrick
2009/12/08 20:51:14
You shouldn't need this now.
|
using base::SharedMemory; |
using command_buffer::GPUProcessor; |
@@ -192,6 +195,10 @@ |
int main(int argc, const char** argv) { |
const int32 kCommandBufferSize = 1024 * 1024; |
+ |
+ base::AtExitManager at_exit_manager; |
+ MessageLoopForUI message_loop; |
+ |
GLES2Demo* demo = new GLES2Demo(); |
void* hwnd = SetupWindow(); |