Small warning fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@360 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2008-08-27 12:44:22 +00:00
parent 105e1c325f
commit cb43ed49cd
3 changed files with 4 additions and 4 deletions

View File

@ -173,7 +173,7 @@ EXPORT void CALL Video_AddMessage(const char* pstr, unsigned int milliseconds);
// input: The chunkfile to write to? FIXME // input: The chunkfile to write to? FIXME
// output: none // output: none
// //
EXPORT void CALL Video_SaveState(); EXPORT void CALL Video_SaveState(void);
// __________________________________________________________________________________________________ // __________________________________________________________________________________________________
// Function: Video_LoadState // Function: Video_LoadState
@ -181,7 +181,7 @@ EXPORT void CALL Video_SaveState();
// input: The chunkfile to read from? FIXME // input: The chunkfile to read from? FIXME
// output: none // output: none
// //
EXPORT void CALL Video_LoadState(); EXPORT void CALL Video_LoadState(void);
#include "ExportEpilog.h" #include "ExportEpilog.h"
#endif #endif

View File

@ -301,7 +301,7 @@ const char *GeneratePixelShader()
WRITE(p,"\n"); WRITE(p,"\n");
WRITE(p,"sampler samp[%i] : register(s0);\n",numSamplers,numSamplers); WRITE(p,"sampler samp[%i] : register(s0);\n",numSamplers);
WRITE(p,"\n"); WRITE(p,"\n");

View File

@ -60,7 +60,7 @@ const char *GenerateVertexShader()
} }
WRITE(p," for (int i=0; i<2; i++)\n output.colors[i] = input.colors[i];\n"); WRITE(p," for (int i=0; i<2; i++)\n output.colors[i] = input.colors[i];\n");
// WRITE(p," output.fog = 0.0f;"); //WRITE(p," output.fog = 0.0f;");
WRITE(p,"return output;\n"); WRITE(p,"return output;\n");
WRITE(p,"}\n"); WRITE(p,"}\n");
WRITE(p,"\0"); WRITE(p,"\0");