mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Windows: Fix some format warnings.
This commit is contained in:
1 parent
6247e4d0ee
commit
da2e722794
12 files changed
+18
-18
No files matched your search
@@ -109,7 +109,7 @@ void SimpleGLWindow::SetupGL() {
|
||||
pfd.cDepthBits = 16;
|
||||
pfd.iLayerType = PFD_MAIN_PLANE;
|
||||
|
||||
#define ENFORCE(x, msg) { if (!(x)) { ERROR_LOG(COMMON, "SimpleGLWindow: %s (%08x)", msg, GetLastError()); return; } }
|
||||
#define ENFORCE(x, msg) { if (!(x)) { ERROR_LOG(COMMON, "SimpleGLWindow: %s (%08x)", msg, (uint32_t)GetLastError()); return; } }
|
||||
|
||||
ENFORCE(hDC_ = GetDC(hWnd_), "Unable to create DC.");
|
||||
ENFORCE(pixelFormat = ChoosePixelFormat(hDC_, &pfd), "Unable to match pixel format.");
|
||||
|
||||
Reference in new issue
Block a user