mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-20 01:49:41 +02:00
Linear_Blit_To_Linear ported to C
This commit is contained in:
@@ -374,7 +374,11 @@ class GraphicBufferClass : public GraphicViewPortClass, public BufferClass {
|
||||
|
||||
// Member to get a pointer to a direct draw surface
|
||||
LPDIRECTDRAWSURFACE Get_DD_Surface ( void );
|
||||
|
||||
// jmarshall
|
||||
void* GetMemoryBuffer(void) {
|
||||
return VideoSurfaceDescription.lpSurface;
|
||||
}
|
||||
// jmarshall end
|
||||
protected:
|
||||
LPDIRECTDRAWSURFACE VideoSurfacePtr; //Pointer to the related direct draw surface
|
||||
DDSURFACEDESC VideoSurfaceDescription;//Description of the said surface
|
||||
|
||||
Reference in New Issue
Block a user