diff options
author | 2010-03-17 11:59:16 +0000 | |
---|---|---|
committer | 2010-03-17 11:59:16 +0000 | |
commit | c02b195ede2a899f2e3312c03d09ac1ff3ae9a50 (patch) | |
tree | 11524a805092d0e91a33cca7d4cc27012b058205 /src/osd/sdl/gl_shader_tool.c | |
parent | 0bc5acacbcac6caecc16bf6bc4beaefe151f5d5b (diff) |
several cleanups based on cppcheck and VS2008 Code Analysis [Oliver Stöneberg]
split.c: made the "split" return the actual result instead of just 0. [Oliver Stöneberg]
clifront.c: made the identation of the CPU device in -listdevices the same like the others [Oliver Stöneberg]
i386.c: gave some fatalerror() calls in the i386 proper messages [Oliver Stöneberg]
ssem.c: fixed compilation of SSEM core with SSEM_DISASM_ON_UNIMPL [Oliver Stöneberg]
srcclean.c: small wording change in the srcclean summary [Oliver Stöneberg]
sdl/window.c: fixed a potential memory leak in sdlwindow_video_window_create() [Oliver Stöneberg]
Diffstat (limited to 'src/osd/sdl/gl_shader_tool.c')
-rw-r--r-- | src/osd/sdl/gl_shader_tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/gl_shader_tool.c b/src/osd/sdl/gl_shader_tool.c index c56874a793b..edce85ab673 100644 --- a/src/osd/sdl/gl_shader_tool.c +++ b/src/osd/sdl/gl_shader_tool.c @@ -345,7 +345,7 @@ static int delete_shader_tool( GLhandleARB *program, GLhandleARB *vertex_shader, *fragment_shader=0; } - return 0; + return res; } int gl_compile_shader_source( GLhandleARB *shader, GLenum type, const char * shader_source, int verbose ) |