diff --git a/env/simple_intersection/utilities.py b/env/simple_intersection/utilities.py index 2a232a953e577ecb1b02d08953409edd24181452..fe7aac1e8cc5a220a9218101f1ef4f32c50aded4 100644 --- a/env/simple_intersection/utilities.py +++ b/env/simple_intersection/utilities.py @@ -1,4 +1,3 @@ - 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