projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Revert 49927 "Update to trunk" as it breaks KsStudio (again)
[reactos.git]
/
dll
/
win32
/
gdi32
/
misc
/
wingl.c
diff --git
a/dll/win32/gdi32/misc/wingl.c
b/dll/win32/gdi32/misc/wingl.c
index
b20ac7e
..
5373c6f
100644
(file)
--- a/
dll/win32/gdi32/misc/wingl.c
+++ b/
dll/win32/gdi32/misc/wingl.c
@@
-166,10
+166,6
@@
SetPixelFormat(HDC hdc,
INT iPixelFormat,
CONST PIXELFORMATDESCRIPTOR * ppfd)
{
- /* Can only be set once */
- INT current = GetPixelFormat(hdc);
- if(current) return current == iPixelFormat ;
-
if (glSetPixelFormat == NULL)
if (OpenGLEnable() == FALSE)
return(0);