Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
wise-move
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wise-lab
wise-move
Commits
e1fdb162
Commit
e1fdb162
authored
Nov 18, 2018
by
Ashish Gaurav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update utilities.py to change screen config variables
parent
e58a1636
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
env/simple_intersection/utilities.py
env/simple_intersection/utilities.py
+3
-2
No files found.
env/simple_intersection/utilities.py
View file @
e1fdb162
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment