mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-18 17:14:13 +02:00
GBuffer video mem now blit directly to the backbuffer cpu array.
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
|
||||
GLuint backbuffer_texture = -1;
|
||||
byte* backbuffer_data;
|
||||
byte* backbuffer_data_raw;
|
||||
unsigned char* backbuffer_data_raw;
|
||||
byte backbuffer_palette[768];
|
||||
HWND MainWindow;
|
||||
SurfaceMonitorClass AllSurfaces;
|
||||
@@ -70,10 +70,6 @@ SDL_Window* game_window;
|
||||
SDL_GLContext game_context;
|
||||
int OverlappedVideoBlits = 0;
|
||||
|
||||
void Video_Set_Data(unsigned char* buffer, int width, int height) {
|
||||
memcpy(backbuffer_data_raw, buffer, width * height);
|
||||
}
|
||||
|
||||
void (*Misc_Focus_Loss_Function)(void) = nullptr;
|
||||
void (*Misc_Focus_Restore_Function)(void) = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user