DEADSOFTWARE

render: disable FBO on devices which not support NPOT textures
[d2df-sdl.git] / src / game / sdl2 / g_system.pas
index bc60586efecc3ccee0b8fecc7421d4bd3256ae59..97e346e9005950ed3a9d98fe5b1e9abf34ace1fe 100644 (file)
@@ -71,9 +71,11 @@ implementation
     JoystickHatState: array [0..e_MaxJoys - 1, 0..e_MaxJoyHats - 1, HAT_LEFT..HAT_DOWN] of Boolean;
     JoystickZeroAxes: array [0..e_MaxJoys - 1, 0..e_MaxJoyAxes - 1] of Integer;
 
+{$IFDEF ENABLE_TOUCH}
   var (* touch *)
     angleFire: Boolean;
     keyFinger: array [VK_FIRSTKEY..VK_LASTKEY] of Integer;
+{$ENDIF}
 
   (* --------- Graphics --------- *)