Skip to content

Commit 337ec6b

Browse files
committed
impr: Better OpenGL texture load error messages
1 parent 2994e69 commit 337ec6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/libimhex/source/ui/imgui_imhex_extensions.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ namespace ImGuiExt {
8484
return texture;
8585

8686
if (!isOpenGLExtensionSupported("GL_ARB_texture_multisample")) {
87-
hex::log::error("Platform does not support texture multisample! Bailing out!");
8887
return texture;
8988
}
9089

@@ -111,7 +110,7 @@ namespace ImGuiExt {
111110

112111
// Check framebuffer status
113112
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) {
114-
hex::log::error("Platform claim to support texture multisample but the API is failing! Bailing out!");
113+
hex::log::error("Driver claims to support texture multisampling but it's not working");
115114
return texture;
116115
}
117116

0 commit comments

Comments
 (0)