Skip to content
Snippets Groups Projects
Commit e1fdb162 authored by Ashish Gaurav's avatar Ashish Gaurav
Browse files

Update utilities.py to change screen config variables

parent e58a1636
No related branches found
No related tags found
No related merge requests found
from .constants import *
from . import road_geokinemetry as rd
import numpy as np
......@@ -203,7 +202,9 @@ def config_Pyglet(pyglet, win_x, win_y):
"""
pyglet.options['debug_gl'] = False
config = pyglet.gl.Config(sample_buffers=1, samples=4)
config = pyglet.gl.Config()
# This configuration doesn't work on some screens
# config = pyglet.gl.Config(sample_buffers=1, samples=4)
window = pyglet.window.Window(width=win_x, height=win_y, config=config)
return window
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment