* commit '0f3a520637421830287bb5b41f101e5f456dc4f8': 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;
|
||||
if(display->needToSetCurrent(cfg->id())){
|
||||
HWND hwnd = createDummyWindow();
|
||||
HDC dpy = GetDC(hwnd);
|
||||
dpy = GetDC(hwnd);
|
||||
display->setCurrent(cfg->id(),DisplayInfo(dpy,hwnd));
|
||||
} else {
|
||||
dpy = display->getCurrentDC();
|
||||
|
||||
Reference in New Issue
Block a user