-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I am using Debian 11, X11, PyCharm, Python 3.9
I tried to run this simple program:
import tkinter as tk
from OpenGL.GL import *
from OpenGL.GLU import *
from pyopengltk import OpenGLFrame
class GLFrame(OpenGLFrame):
def initgl(self):
glViewport(0, 0, self.width, self.height)
glClearColor(0.5, 0.5, 0.5, 1.0)
def redraw(self):
glClear(GL_COLOR_BUFFER_BIT)
root = tk.Tk()
root.title("Example")
glFrame = GLFrame(width=640, height=480)
glFrame.pack(expand=True, fill=tk.BOTH)
root.mainloop()
this is the output:
GLX version: 1.4
Screen is 0
Number of FBconfigs 66
Got a matching visual: index 3 33 xid 0x21
Is Direct?: 1
X Error of failed request: GLXBadDrawable
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 26 (X_GLXMakeContextCurrent)
Serial number of failed request: 38
Current serial number in output stream: 38
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels