aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/detours/samples/opengl/testogl.cpp
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-01-03 17:52:14 +0100
committerAndrzej Janik <[email protected]>2021-01-03 17:52:14 +0100
commit77523940b39d522adc26b18f00c3373407523c55 (patch)
tree666a5541f635b56d1f56305767a09cab2ae48d81 /ext/detours/samples/opengl/testogl.cpp
parentae950163cd05f7a2205740af0acc6e427f0ffd92 (diff)
parentdabc40cb19bf4e297c32284d26c74adbd6775e49 (diff)
downloadZLUDA-77523940b39d522adc26b18f00c3373407523c55.tar.gz
ZLUDA-77523940b39d522adc26b18f00c3373407523c55.zip
Merge commit 'dabc40cb19bf4e297c32284d26c74adbd6775e49' as 'ext/detours'
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.