mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
parent
8777917177
commit
0bad9e9385
12 changed files with 42 additions and 59 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue