Skip to content

Commit

Permalink
Bug: Multisampling did not work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Apr 15, 2020
1 parent 958fdf2 commit 47da926
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arcade/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@

# Error out if we import Arcade with an incompatible version of Python.
import sys
import platform

if sys.version_info[0] < 3 or (sys.version_info[0] == 3 and sys.version_info[1] < 6):
sys.exit("The Arcade Library requires Python 3.6 or higher.")

# noinspection PyPep8
import pyglet

pyglet.options['shadow_window'] = False
if platform.system() != 'Windows':
pyglet.options['shadow_window'] = False

# noinspection PyPep8
from arcade import color
Expand Down

0 comments on commit 47da926

Please sign in to comment.