cannot detect OpenGL context | Python : Pygame / Moderngl
I have a game in pygame. I try to optimize fps and using shader render for uing gpu for the optimization.
pygame in OpenGL mode with ModernGL context shows black screen
I making a game engine. i making it on mglw, then i decided to change moderngl_window to pygame, and
it shows only blank black screen.
here is the code:
`
import sys
import moderngl as mgl
import moderngl_window.geometry
import pygame as pg