aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/win32/wingdi.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-25 16:27:52 +0100
committerSven Gothel <[email protected]>2010-11-25 16:27:52 +0100
commit4c87224144d955d000f0d5efdc9c058416cdefac (patch)
tree79040c30800750c7e710df04c4565afba1398adf /make/stub_includes/win32/wingdi.h
parentfefd11bb37abc0eff255ff1ad7506c95e13e7b11 (diff)
NativeWindow/GDI: Adding ERROR_SUCCESS to make the code more clear.
Diffstat (limited to 'make/stub_includes/win32/wingdi.h')
-rw-r--r--make/stub_includes/win32/wingdi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/stub_includes/win32/wingdi.h b/make/stub_includes/win32/wingdi.h
index e31cd8c5a..fd4bc16a2 100644
--- a/make/stub_includes/win32/wingdi.h
+++ b/make/stub_includes/win32/wingdi.h
@@ -105,8 +105,9 @@ typedef struct tagPIXELFORMATDESCRIPTOR {
#define PFD_DOUBLEBUFFER_DONTCARE 0x40000000
#define PFD_STEREO_DONTCARE 0x80000000
-/* OpenGL error codes (from winerror.h) */
+/* error codes (from winerror.h) */
/* FIXME: these should have a trailing "L" but apparently PCPP doesn't handle that syntax */
+#define ERROR_SUCCESS 0
#define ERROR_INVALID_PIXEL_FORMAT 2000
#define ERROR_NO_SYSTEM_RESOURCES 1450
#define ERROR_INVALID_DATA 13