mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 08:36:19 -05:00
Fixed compiler warning with gcc
This commit is contained in:
@@ -833,7 +833,7 @@ D3D_CreateRenderer(SDL_Window * window, Uint32 flags)
|
||||
0x80e40000, 0x0000ffff
|
||||
};
|
||||
#endif
|
||||
if (shader_data) {
|
||||
if (shader_data != NULL) {
|
||||
result = IDirect3DDevice9_CreatePixelShader(data->device, shader_data, &data->ps_yuv);
|
||||
if (!FAILED(result)) {
|
||||
renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_YV12;
|
||||
|
||||
Reference in New Issue
Block a user