Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2009-06-28 20:31:20 +0400
committerTon Roosendaal <ton@blender.org>2009-06-28 20:31:20 +0400
commit13ec1fbfa4e520b5c85c2909f1b310bc5f9bf48b (patch)
tree378786842d60c2784ad19f1ee7b9d770c566f0e9 /source
parent5d6485f06efcc277e7f42cb355ece601b4cf6cf4 (diff)
2.5
Starting GE should initialize opengl for the 3d region.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c
index 782d426641f..b57f4a91004 100644
--- a/source/blender/editors/space_view3d/view3d_view.c
+++ b/source/blender/editors/space_view3d/view3d_view.c
@@ -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);