gl: Fix direct call to rsx::method_registers array.

This commit is contained in:
Vincent Lejeune 2016-07-16 00:04:44 +02:00
parent d97cdb9fbf
commit c6ed5a8e6b
1 changed files with 1 additions and 1 deletions

View File

@ -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)