Blame d68c3709e49b967272b0794b0dd30e57e46326e8.patch
|
Scott Talbert |
e5d733 |
From d68c3709e49b967272b0794b0dd30e57e46326e8 Mon Sep 17 00:00:00 2001
|
|
Scott Talbert |
e5d733 |
From: Scott Talbert <swt@techie.net>
|
|
Scott Talbert |
e5d733 |
Date: Thu, 30 Dec 2021 10:10:56 -0500
|
|
Scott Talbert |
e5d733 |
Subject: [PATCH] wxGLCanvas EGL: don't assert if eglChooseConfig fails
|
|
Scott Talbert |
e5d733 |
|
|
Scott Talbert |
e5d733 |
This assert prevents wxGLCanvas::IsDisplaySupported() from working properly
|
|
Scott Talbert |
e5d733 |
in the case where unsupported attributes are passed.
|
|
Scott Talbert |
e5d733 |
---
|
|
Scott Talbert |
e5d733 |
src/unix/glegl.cpp | 1 -
|
|
Scott Talbert |
e5d733 |
1 file changed, 1 deletion(-)
|
|
Scott Talbert |
e5d733 |
|
|
Scott Talbert |
e5d733 |
diff --git a/src/unix/glegl.cpp b/src/unix/glegl.cpp
|
|
Scott Talbert |
e5d733 |
index fa4ad29b5124..5e831713b51f 100644
|
|
Scott Talbert |
e5d733 |
--- a/src/unix/glegl.cpp
|
|
Scott Talbert |
e5d733 |
+++ b/src/unix/glegl.cpp
|
|
Scott Talbert |
e5d733 |
@@ -578,7 +578,6 @@ EGLConfig *wxGLCanvasEGL::InitConfig(const wxGLAttributes& dispAttrs)
|
|
Scott Talbert |
e5d733 |
}
|
|
Scott Talbert |
e5d733 |
else
|
|
Scott Talbert |
e5d733 |
{
|
|
Scott Talbert |
e5d733 |
- wxFAIL_MSG("eglChooseConfig failed");
|
|
Scott Talbert |
e5d733 |
delete config;
|
|
Scott Talbert |
e5d733 |
return NULL;
|
|
Scott Talbert |
e5d733 |
}
|