Linear_Blit_To_Linear ported to C

This commit is contained in:
Justin Marshall
2020-06-06 20:11:36 -07:00
parent c4566e3062
commit ffe6688efa
3 changed files with 55 additions and 487 deletions
+5 -1
View File
@@ -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