aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/detours/samples/opengl/testogl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/detours/samples/opengl/testogl.cpp')
-rw-r--r--ext/detours/samples/opengl/testogl.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/ext/detours/samples/opengl/testogl.cpp b/ext/detours/samples/opengl/testogl.cpp
new file mode 100644
index 0000000..c48b4c1
--- /dev/null
+++ b/ext/detours/samples/opengl/testogl.cpp
@@ -0,0 +1,24 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// File: testogl.cpp
+// Module: testogl.exe (oglsimple.dll)
+//
+
+#include <windows.h>
+#include <stdio.h>
+#include <GL/gl.h>
+
+int __cdecl main()
+{
+ printf("testogl.exe: Starting\n");
+ fflush(stdout);
+
+ glFinish();
+
+ printf("testogl.exe: done\n");
+ fflush(stdout);
+
+ return 0;
+}
+//
+///////////////////////////////////////////////////////////////// End of File.