Changed C++ style comments to fix pedantic warnings.

This commit is contained in:
Philipp Wiesemann
2014-05-17 22:02:25 +02:00
parent 0d196c3099
commit ca11d7c8b5
5 changed files with 7 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ main(int argc, char *argv[])
int consumed;
consumed = SDLTest_CommonArg(state, i);
// needed vodoo to allow app to launch via OS X Finder
/* needed voodoo to allow app to launch via OS X Finder */
if (SDL_strncmp(argv[i], "-psn", 4)==0) {
consumed = 1;
}

View File

@@ -210,7 +210,7 @@ process_shader(GLuint *shader, const char * source, GLint shader_type)
GL_CHECK(ctx.glCompileShader(*shader));
GL_CHECK(ctx.glGetShaderiv(*shader, GL_COMPILE_STATUS, &status));
// Dump debug info (source and log) if compilation failed.
/* Dump debug info (source and log) if compilation failed. */
if(status != GL_TRUE) {
SDL_Log("Shader compilation failed");
quit(-1);

View File

@@ -53,7 +53,9 @@ main(int argc, char *argv[])
exit(1);
}
/*
//SDL_CreateWindow("Dummy", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 128, 128, 0);
*/
SDL_Log("There are %d joysticks at startup\n", SDL_NumJoysticks());
if (enable_haptic)