Windows: Fix some format warnings.

This commit is contained in:
Unknown W. Brackets committed 2021-02-14 10:30:10 -08:00
1 parent 6247e4d0ee
commit da2e722794
12 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -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.");