mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* add simple circle test for opengl * literally a comma * add rgb tolerance to graphical unit tester * start up xvfb on ubuntu? * black style * reduce tolerance to pixel ? * add msys2 action * add mesa install * ci: windows add msys2 to path Compile moderngl from source add a init tests for CI to work add colour to pytest * minor edits * mild refactor of scene / camera / renderer relationship * flake-d * reverted refactor * reverted opengl split at the level of graphical unit tester * remove unnecessary config in definition * CI: remove python3 from MSYS2 also Co-authored-by: Naveen M K <naveen@syrusdark.website>
10 lines
312 B
Python
10 lines
312 B
Python
import os
|
|
|
|
if os.getenv("CI") and os.name == "nt":
|
|
location = r"C:\msys64\mingw64\bin"
|
|
os.environ["PATH"] = location + os.pathsep + os.getenv("PATH")
|
|
import ctypes
|
|
|
|
ctypes.CDLL(r"C:\msys64\mingw64\bin\OPENGL32.dll")
|
|
if hasattr(os, "add_dll_directory"):
|
|
os.add_dll_directory(location)
|