comparison src/video/win32/SDL_win32video.h @ 1913:83420da906a5

Implemented Windows OpenGL support Fixed slowdown enumerating display modes, which was hosing OpenGL as well... Removed SDL_ from the render driver prefixes
author Sam Lantinga <slouken@libsdl.org>
date Mon, 17 Jul 2006 06:47:33 +0000
parents f1828a500391
children 514f7c1651fc
comparison
equal deleted inserted replaced
1912:8d384b647307 1913:83420da906a5
40 #include "SDL_win32events.h" 40 #include "SDL_win32events.h"
41 #include "SDL_win32gamma.h" 41 #include "SDL_win32gamma.h"
42 #include "SDL_win32keyboard.h" 42 #include "SDL_win32keyboard.h"
43 #include "SDL_win32modes.h" 43 #include "SDL_win32modes.h"
44 #include "SDL_win32mouse.h" 44 #include "SDL_win32mouse.h"
45 #include "SDL_win32opengl.h"
45 #include "SDL_win32window.h" 46 #include "SDL_win32window.h"
46 47
47 #ifdef UNICODE 48 #ifdef UNICODE
48 #define WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "UCS-2", (char *)S, (SDL_wcslen(S)+1)*sizeof(WCHAR)) 49 #define WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "UCS-2", (char *)S, (SDL_wcslen(S)+1)*sizeof(WCHAR))
49 #define WIN_UTF8ToString(S) (WCHAR *)SDL_iconv_string("UCS-2", "UTF-8", (char *)S, SDL_strlen(S)+1) 50 #define WIN_UTF8ToString(S) (WCHAR *)SDL_iconv_string("UCS-2", "UTF-8", (char *)S, SDL_strlen(S)+1)