Selaa lähdekoodia

Android: remove warning in blit_features
"integer constant not in range of enumerated type 'enum blit_features'"

Sylvain Becker 5 vuotta sitten
vanhempi
commit
7289e5e215
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/video/SDL_blit_N.c

+ 1 - 0
src/video/SDL_blit_N.c

@@ -39,6 +39,7 @@
 /* Functions to blit from N-bit surfaces to other surfaces */
 
 enum blit_features {
+	BLIT_FEATURE_NONE = 0,
 	BLIT_FEATURE_HAS_MMX = 1,
 	BLIT_FEATURE_HAS_ALTIVEC = 2,
 	BLIT_FEATURE_ALTIVEC_DONT_USE_PREFETCH = 4,