Browse Source

Fixed macOS build

Sam Lantinga 1 year ago
parent
commit
de209c81d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/render/metal/SDL_render_metal.m

+ 1 - 1
src/render/metal/SDL_render_metal.m

@@ -1300,7 +1300,7 @@ static const float TEXTURETYPE_NV12 = 2;
 static const float TEXTURETYPE_NV21 = 3;
 static const float TEXTURETYPE_YUV = 4;
 
-static const float INPUTTYPE_UNSPECIFIED = 0;
+//static const float INPUTTYPE_UNSPECIFIED = 0;
 static const float INPUTTYPE_SRGB = 1;
 static const float INPUTTYPE_SCRGB = 2;
 static const float INPUTTYPE_HDR10 = 3;