mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Fixed OpenGL error 0x0502.
Implemented cellRtc module. Added module name list in cellSysmodule to aid debugging.
This commit is contained in:
parent
60261408c2
commit
3076571b6f
6 changed files with 1533 additions and 1046 deletions
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
gcmBuffer gcmBuffers[8];
|
||||
|
||||
int last_width = 0, last_height = 0, last_depth_format = 0;
|
||||
|
||||
void printGlError(GLenum err, const char* situation)
|
||||
{
|
||||
if(err != GL_NO_ERROR)
|
||||
|
|
@ -224,6 +226,10 @@ void GLGSRender::Init(const u32 ioAddress, const u32 ioSize, const u32 ctrlAddre
|
|||
m_width = 720;
|
||||
m_height = 576;
|
||||
|
||||
last_width = 0;
|
||||
last_height = 0;
|
||||
last_depth_format = 0;
|
||||
|
||||
m_frame->Show();
|
||||
|
||||
m_ioAddress = ioAddress;
|
||||
|
|
@ -1981,8 +1987,6 @@ void GLGSRender::ExecCMD()
|
|||
{
|
||||
if(LoadProgram())
|
||||
{
|
||||
static int last_width = 0, last_height = 0, last_depth_format = 0;
|
||||
|
||||
if(m_width != last_width || m_height != last_height || last_depth_format != m_surface_depth_format)
|
||||
{
|
||||
ConLog.Warning("New FBO (%dx%d)", m_width, m_height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue