fix typo in unused function, try to fix linux 32-bit opengl
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@117 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0c21d95606
commit
3b4a9e06c2
|
@ -76,7 +76,7 @@ void ABI_CallFunctionR(void *func, X64Reg reg1) {
|
|||
|
||||
void ABI_CallFunctionAC(void *func, const Gen::OpArg &arg1, u32 param2)
|
||||
{
|
||||
if (arg1.IsSimpleReg(ABI_PARAM1))
|
||||
if (!arg1.IsSimpleReg(ABI_PARAM1))
|
||||
MOV(32, R(ABI_PARAM1), arg1);
|
||||
MOV(32, R(ABI_PARAM2), Imm32(param2));
|
||||
CALL(func);
|
||||
|
|
|
@ -539,7 +539,10 @@ void VertexLoader::ProcessFormat()
|
|||
#else
|
||||
PUSH(32, Imm32(id));
|
||||
CALL((void *)glClientActiveTexture);
|
||||
// don't inc stack
|
||||
// don't inc stack on windows, stdcall
|
||||
#ifndef _WIN32
|
||||
ADD(32, R(ESP), Imm8(4));
|
||||
#endif
|
||||
#endif
|
||||
if( m_components&(VB_HAS_TEXMTXIDX0<<i) ) {
|
||||
if( tc[i] != NOT_PRESENT ) {
|
||||
|
|
Loading…
Reference in New Issue