Examples: GLFW+WebGPU: moving blocks to simplify upcoming diff. (#8381)

This commit is contained in:
ocornut
2025-10-16 19:10:10 +02:00
parent 71447b94fb
commit 4b1f5aba80
2 changed files with 33 additions and 37 deletions

View File

@@ -48,7 +48,7 @@ int main(int, char**)
}
SDL_PropertiesID props = SDL_GetWindowProperties(window);
HWND hwnd = (HWND)SDL_GetPointerProperty(props, SDL_PROP_WINDOW_WIN32_HWND_POINTER, NULL);
HWND hwnd = (HWND)SDL_GetPointerProperty(props, SDL_PROP_WINDOW_WIN32_HWND_POINTER, nullptr);
// Initialize Direct3D
if (!CreateDeviceD3D(hwnd))