2.5
authorTon Roosendaal <ton@blender.org>
Sun, 28 Jun 2009 16:31:20 +0000 (16:31 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 28 Jun 2009 16:31:20 +0000 (16:31 +0000)
Starting GE should initialize opengl for the 3d region.

source/blender/editors/space_view3d/view3d_view.c

index 782d426641f288ec0550f016b78097659822441a..b57f4a9100470004a2d88a2b4575aadc6212856a 100644 (file)
@@ -1431,6 +1431,9 @@ static int game_engine_exec(bContext *C, wmOperator *unused)
        Scene *startscene = CTX_data_scene(C);
        
 #if GAMEBLENDER == 1
+       
+       view3d_operator_needs_opengl(C);
+       
        SaveState(C);
        StartKetsjiShell(C, 1);
        RestoreState(C);