am 95d6192b: Merge "fixing bug of shadowing a variable"
* commit '95d6192bb0d255d8b45b596092bab152760a351f': fixing bug of shadowing a variable
This commit is contained in:
@@ -464,7 +464,7 @@ EGLNativeContextType createContext(EGLNativeDisplayType display,EglConfig* cfg,E
|
|||||||
HDC dpy = NULL;
|
HDC dpy = NULL;
|
||||||
if(display->needToSetCurrent(cfg->id())){
|
if(display->needToSetCurrent(cfg->id())){
|
||||||
HWND hwnd = createDummyWindow();
|
HWND hwnd = createDummyWindow();
|
||||||
HDC dpy = GetDC(hwnd);
|
dpy = GetDC(hwnd);
|
||||||
display->setCurrent(cfg->id(),DisplayInfo(dpy,hwnd));
|
display->setCurrent(cfg->id(),DisplayInfo(dpy,hwnd));
|
||||||
} else {
|
} else {
|
||||||
dpy = display->getCurrentDC();
|
dpy = display->getCurrentDC();
|
||||||
|
|||||||
Reference in New Issue
Block a user