Index: dxgltest/Tests2D.cpp |
— | — | @@ -318,13 +318,8 @@ |
319 | 319 | else if(!fullscreen)
|
320 | 320 | hWnd = CreateWindowEx(WS_EX_APPWINDOW,wndclassname2d,_T("DDraw Test Window"),WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX,
|
321 | 321 | CW_USEDEFAULT,CW_USEDEFAULT,width,height,NULL,NULL,hinstance,NULL);
|
322 | | -#ifdef _DEBUG
|
323 | 322 | else hWnd = CreateWindowEx(0,wndclassname2d,_T("DDraw Test Window"),WS_POPUP,0,0,
|
324 | 323 | GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN),NULL,NULL,hinstance,NULL);
|
325 | | -#else
|
326 | | - else hWnd = CreateWindowEx(WS_EX_TOPMOST,wndclassname2d,_T("DDraw Test Window"),WS_POPUP,0,0,
|
327 | | - GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN),NULL,NULL,hinstance,NULL);
|
328 | | -#endif
|
329 | 324 | DWORD err = GetLastError();
|
330 | 325 | ShowWindow(hWnd,SW_SHOWNORMAL);
|
331 | 326 | UpdateWindow(hWnd);
|
Index: dxgltest/Tests3D.cpp |
— | — | @@ -401,13 +401,8 @@ |
402 | 402 | else if(!fullscreen)
|
403 | 403 | hWnd = CreateWindowEx(WS_EX_APPWINDOW,wndclassname3d,_T("D3D Test Window"),WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX,
|
404 | 404 | CW_USEDEFAULT,CW_USEDEFAULT,width,height,NULL,NULL,hinstance,NULL);
|
405 | | -#ifdef _DEBUG
|
406 | 405 | else hWnd = CreateWindowEx(0,wndclassname3d,_T("DDraw Test Window"),WS_POPUP,0,0,
|
407 | 406 | GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN),NULL,NULL,hinstance,NULL);
|
408 | | -#else
|
409 | | - else hWnd = CreateWindowEx(WS_EX_TOPMOST,wndclassname3d,_T("DDraw Test Window"),WS_POPUP,0,0,
|
410 | | - GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN),NULL,NULL,hinstance,NULL);
|
411 | | -#endif
|
412 | 407 | DWORD err = GetLastError();
|
413 | 408 | ShowWindow(hWnd,SW_SHOWNORMAL);
|
414 | 409 | UpdateWindow(hWnd);
|