summaryrefslogtreecommitdiff
path: root/external/libgltf/patches/unneeded_context_handling.patch
blob: c08c021c11b26b252a1e3bb429b1f2e7ed8e759b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -ur libgltf.org/src/RenderScene.cpp libgltf/src/RenderScene.cpp
--- libgltf.org/src/RenderScene.cpp	2014-05-05 14:42:40.523389018 +0200
+++ libgltf/src/RenderScene.cpp	2014-05-05 14:43:01.027389893 +0200
@@ -746,7 +746,6 @@
 #if ENABLE_FPS
   pFPSCounter->printFPS(&viewport);
 #endif
-  SwapBuffers(wglGetCurrentDC());
   return;
 }
 
@@ -1004,4 +1003,4 @@
 int  RenderScene::isAnimPlay()
 {
     return this->mAnimationPlay ?  1 : 0;
-}
\ No newline at end of file
+}