Fixed compiler warning with gcc
This commit is contained in:
parent
3b4b3c17ea
commit
3334092bdc
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ D3D_CreateRenderer(SDL_Window * window, Uint32 flags)
|
||||||
0x80e40000, 0x0000ffff
|
0x80e40000, 0x0000ffff
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
if (shader_data) {
|
if (shader_data != NULL) {
|
||||||
result = IDirect3DDevice9_CreatePixelShader(data->device, shader_data, &data->ps_yuv);
|
result = IDirect3DDevice9_CreatePixelShader(data->device, shader_data, &data->ps_yuv);
|
||||||
if (!FAILED(result)) {
|
if (!FAILED(result)) {
|
||||||
renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_YV12;
|
renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_YV12;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue