this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Added missing std includes to SDL_gpu.c. Fixed a couple of VS warnings.

+7 -2
+6 -1
src/SDL_gpu.c
··· 1 1 #include "SDL_gpu.h" 2 2 #include "SDL_gpu_RendererImpl.h" 3 3 #include "SDL_platform.h" 4 + #include <stdlib.h> 5 + #include <string.h> 4 6 5 7 #ifdef __ANDROID__ 6 8 #include <android/log.h> ··· 930 932 Gmask = 0x0000ff00; 931 933 Bmask = 0x00ff0000; 932 934 Amask = 0xff000000; 933 - break; 935 + break; 936 + default: 937 + Rmask = Gmask = Bmask = 0; 938 + break; 934 939 } 935 940 936 941 result = SDL_CreateRGBSurfaceFrom(data, width, height, channels*8, width*channels, Rmask, Gmask, Bmask, Amask);
+1 -1
src/renderer_GL_common.inl
··· 2767 2767 Uint8 use_blending = image->use_blending; 2768 2768 GPU_FilterEnum filter_mode = image->filter_mode; 2769 2769 Uint8 use_virtual = image->using_virtual_resolution; 2770 - Uint16 w, h; 2770 + Uint16 w = 0, h = 0; 2771 2771 GPU_UnsetColor(image); 2772 2772 GPU_SetBlending(image, 0); 2773 2773 GPU_SetImageFilter(image, GPU_FILTER_NEAREST);