mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
warning fixes
please review Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1307 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -38,7 +38,7 @@ static FRAGMENTSHADER s_yuyvToRgbProgram;
|
||||
void CreateRgbToYuyvProgram()
|
||||
{
|
||||
// output is BGRA because that is slightly faster than RGBA
|
||||
char *FProgram =
|
||||
char *FProgram = (char *)
|
||||
"uniform samplerRECT samp0 : register(s0);\n"
|
||||
"void main(\n"
|
||||
" out float4 ocol0 : COLOR0,\n"
|
||||
@ -63,7 +63,7 @@ void CreateRgbToYuyvProgram()
|
||||
|
||||
void CreateYuyvToRgbProgram()
|
||||
{
|
||||
char *FProgram =
|
||||
char *FProgram = (char *)
|
||||
"uniform samplerRECT samp0 : register(s0);\n"
|
||||
"void main(\n"
|
||||
" out float4 ocol0 : COLOR0,\n"
|
||||
@ -221,4 +221,4 @@ void DecodeToTexture(u8* srcAddr, int srcWidth, int srcHeight, GLuint destTextur
|
||||
GL_REPORT_ERRORD();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user