Skip to content

Commit

Permalink
Specify required OpenGL version to fix for Intel drivers on Linux
Browse files Browse the repository at this point in the history
Fixes #79
  • Loading branch information
rdb committed Jun 19, 2018
1 parent e52571a commit 8c66ed5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/panda3d-config.prc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ gl-force-fbo-color #f

# ----------- OpenGL / Performance Settings ------------

# Require OpenGL 4.3 at least, necessary for Intel drivers on Linux
gl-version 4 3

# Animations on the gpu. The default shader has to get adjusted to support this
# feature before this option can be turned on.
# hardware-animated-vertices #t
Expand Down
1 change: 1 addition & 0 deletions data/default_cubemap/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def __init__(self):
gl-coordinate-system default
notify-level-display error
print-pipe-types #f
gl-version 4 3
""")

ShowBase.__init__(self)
Expand Down
1 change: 1 addition & 0 deletions data/film_grain/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def __init__(self):
gl-coordinate-system default
notify-level-display error
print-pipe-types #f
gl-version 4 3
""")

ShowBase.__init__(self)
Expand Down
1 change: 1 addition & 0 deletions rpplugins/clouds/resources/precompute.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(self):
gl-coordinate-system default
notify-level-display error
print-pipe-types #f
gl-version 4 3
""")

ShowBase.__init__(self)
Expand Down

0 comments on commit 8c66ed5

Please sign in to comment.