Misc shallow tweaks/tidying up. (#8446)

This commit is contained in:
ocornut
2025-02-27 21:55:17 +01:00
parent 482a1f50b6
commit 1aab00da85
6 changed files with 20 additions and 33 deletions

View File

@@ -284,7 +284,7 @@ bool ImGui_ImplOpenGL3_InitLoader()
{
// Initialize our loader
#ifdef IMGUI_IMPL_OPENGL_LOADER_IMGL3W
if (glGetIntegerv == NULL && imgl3wInit() != 0)
if (glGetIntegerv == nullptr && imgl3wInit() != 0)
{
fprintf(stderr, "Failed to initialize OpenGL loader!\n");
return false;