diff options
author | Andrzej Janik <[email protected]> | 2021-01-03 17:52:14 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-01-03 17:52:14 +0100 |
commit | 77523940b39d522adc26b18f00c3373407523c55 (patch) | |
tree | 666a5541f635b56d1f56305767a09cab2ae48d81 /ext/detours/samples/opengl/testogl.cpp | |
parent | ae950163cd05f7a2205740af0acc6e427f0ffd92 (diff) | |
parent | dabc40cb19bf4e297c32284d26c74adbd6775e49 (diff) | |
download | ZLUDA-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.cpp | 24 |
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. |