Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiler warning with gcc

  • Loading branch information
slouken committed Jul 30, 2013
1 parent a2ddf28 commit bb6dc31f574161dcf68f1bf5b2f1dc5eab797f46
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/render/direct3d/SDL_render_d3d.c
@@ -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;

0 comments on commit bb6dc31

Please sign in to comment.