mirror of https://github.com/RPCS3/rpcs3.git
gl: Fix direct call to rsx::method_registers array.
This commit is contained in:
parent
d97cdb9fbf
commit
c6ed5a8e6b
|
@ -160,7 +160,7 @@ namespace
|
||||||
GLenum front_face(rsx::front_face op)
|
GLenum front_face(rsx::front_face op)
|
||||||
{
|
{
|
||||||
GLenum mask = 0;
|
GLenum mask = 0;
|
||||||
if (rsx::to_window_origin((rsx::method_registers[NV4097_SET_SHADER_WINDOW] >> 12) & 0xf) == rsx::window_origin::bottom)
|
if (rsx::method_registers.shader_window_origin() == rsx::window_origin::bottom)
|
||||||
mask = 1;
|
mask = 1;
|
||||||
|
|
||||||
switch (op)
|
switch (op)
|
||||||
|
|
Loading…
Reference in New Issue