Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:reproducible:distribution:ring1
python-wxPython
0001-Handle-wxGLCanvas-CreateSurface-which-is-o...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Handle-wxGLCanvas-CreateSurface-which-is-only-availa.patch of Package python-wxPython
From 371101db7a010d679d214fde617dae9de02008d9 Mon Sep 17 00:00:00 2001 From: Scott Talbert <swt@techie.net> Date: Fri, 14 Jul 2023 13:23:03 -0400 Subject: [PATCH] Handle wxGLCanvas::CreateSurface which is only available on EGL --- etg/_glcanvas.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etg/_glcanvas.py b/etg/_glcanvas.py index 52992ed8..2e578645 100644 --- a/etg/_glcanvas.py +++ b/etg/_glcanvas.py @@ -125,6 +125,15 @@ def run(): sipRes = wxGLCanvas::IsDisplaySupported(attribPtr); """) + c.find('CreateSurface').setCppCode("""\ + #if wxUSE_GLCANVAS_EGL + return self->CreateSurface(); + #else + wxPyRaiseNotImplemented(); + return false; + #endif + """) + #----------------------------------------------------------------- tools.doCommonTweaks(module) tools.runGenerators(module) -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor