diff --git a/src/d3d11.py b/src/d3d11.py index 8d33fc7c..e9e4c5bb 100644 --- a/src/d3d11.py +++ b/src/d3d11.py @@ -1,5 +1,10 @@ # SPDX-License-Identifier: MIT # Copyright (c) 2024 David Lechner +import sys + +if sys.platform != "win32": + raise OSError + import ctypes import enum import uuid