Initial source commit
This commit is contained in:
commit
f1384c11ee
335 changed files with 52715 additions and 0 deletions
24
minorGems/graphics/swapBuffers.h
Normal file
24
minorGems/graphics/swapBuffers.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#include "GraphicBuffer.h"
|
||||
|
||||
// function that swaps bufferB to the screen (32 bit version)
|
||||
// returns new back buffer
|
||||
//unsigned long *swapBuffers32( unsigned long *bufferPtrB, short bufferHigh, short bufferWide);
|
||||
|
||||
// now replaces "buffer" in bufferB with the new double buffer after swap
|
||||
// no need to pass back the new buffer
|
||||
void swapBuffers32( GraphicBuffer &bufferB );
|
||||
|
||||
|
||||
|
||||
|
||||
// swap bufferB to the screen (8 bit version)
|
||||
// returns new back buffer
|
||||
unsigned char *swapBuffers8( unsigned char *bufferPtrB, short bufferHigh, short bufferWide );
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// NOTE: the bodies of these functions must occur in the body of the main DDraw code file
|
||||
// i.e., in the file where all the directDraw objects are instantiated.
|
||||
// these functions assume the ddraw ojects are declared globally
|
Loading…
Add table
Add a link
Reference in a new issue