GBuffer video mem now blit directly to the backbuffer cpu array.

This commit is contained in:
Justin Marshall
2020-06-11 19:35:27 -07:00
parent f289eca079
commit 0a26a05572
4 changed files with 7 additions and 10 deletions
+2 -2
View File
@@ -502,7 +502,7 @@ BOOL GraphicBufferClass::Lock(void)
return(TRUE);
}
Offset = (unsigned long)rawCpuBuffer; // 32bit to 64bit issue here.
Offset = (unsigned long)backbuffer_data_raw; // 32bit to 64bit issue here.
//Pitch = Width;
LockCount++; // increment count so we can track if
@@ -528,7 +528,7 @@ BOOL GraphicBufferClass::Lock(void)
BOOL GraphicBufferClass::Unlock(void)
{
Video_Set_Data((unsigned char *)Get_Graphic_Buffer()->GetMemoryBuffer(), Width, Height);
//Video_Set_Data((unsigned char *)Get_Graphic_Buffer()->GetMemoryBuffer(), Width, Height);
//
// If there is no lock count or this is not a direct draw surface