Stav 23.06.2026

This commit is contained in:
2026-06-23 15:20:56 +02:00
commit 6d91e83e8c
5670 changed files with 1145969 additions and 0 deletions
@@ -0,0 +1,13 @@
from kivy.logger import Logger
include "../include/config.pxi"
from kivy.graphics.cgl cimport cgl
import os
cdef int env_debug_gl = "DEBUG_GL" in os.environ
cdef inline void log_gl_error(str note):
if env_debug_gl:
ret = cgl.glGetError()
if ret:
Logger.error("OpenGL Error: {note} {ret1} / {ret2}".format(
note=note, ret1=ret, ret2=hex(ret)))