Commit e1fdb162 authored by Ashish Gaurav's avatar Ashish Gaurav

Update utilities.py to change screen config variables

parent e58a1636
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment