Fix glitches in PSP rendering.
This patch corrects a few glitches in PSP rendering for certain cases,
such as black boxes around the steam vents in the lower Veil area.
--- a/PSP/src/fakegl.c Fri Jan 07 02:37:09 2011 +0900
+++ b/PSP/src/fakegl.c Mon Jan 10 09:50:53 2011 +0900
@@ -3148,6 +3148,7 @@
texture_changed = 1;
texture_filter_changed = 1;
texture_wrap_mode_changed = 1;
+ blend_sfactor = blend_dfactor = -1;
}
/*************************************************************************/
@@ -3173,6 +3174,12 @@
update_render_state();
ge_call_sublist(dlist_array[list].list);
+
+ modelview_matrix_changed = 1;
+ texture_changed = 1;
+ texture_filter_changed = 1;
+ texture_wrap_mode_changed = 1;
+ blend_sfactor = blend_dfactor = -1;
}
/*************************************************************************/