Add MathEngineTest and Commects and clean ups
This commit is contained in:
@@ -122,18 +122,18 @@ namespace VideoEngine {
|
||||
|
||||
static cVideo* sp_inst;/// = nullptr
|
||||
|
||||
/*SDL interprets each pixel as a 32-bit number, so our masks must depend
|
||||
/* SDL interprets each pixel as a 32-bit number, so our masks must depend
|
||||
on the endianness (byte order) of the machine */
|
||||
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
|
||||
const unsigned long int m_rmask;// = 0xff000000;
|
||||
const unsigned long int m_gmask;// = 0x00ff0000;
|
||||
const unsigned long int m_bmask;// = 0x0000ff00;
|
||||
const unsigned long int m_amask;// = 0x000000ff;
|
||||
const unsigned long int m_rmask;/// = 0xff000000;
|
||||
const unsigned long int m_gmask;/// = 0x00ff0000;
|
||||
const unsigned long int m_bmask;/// = 0x0000ff00;
|
||||
const unsigned long int m_amask;/// = 0x000000ff;
|
||||
#else
|
||||
const unsigned long int m_rmask;// = 0x000000ff;
|
||||
const unsigned long int m_gmask;// = 0x0000ff00;
|
||||
const unsigned long int m_bmask;// = 0x00ff0000;
|
||||
const unsigned long int m_amask;// = 0xff000000;
|
||||
const unsigned long int m_rmask;/// = 0x000000ff;
|
||||
const unsigned long int m_gmask;/// = 0x0000ff00;
|
||||
const unsigned long int m_bmask;/// = 0x00ff0000;
|
||||
const unsigned long int m_amask;/// = 0xff000000;
|
||||
#endif
|
||||
};/// END CLASS DEFINITION cVideo
|
||||
}/// END NAMESPACE DEFINITION VideoEngine
|
||||
|
||||
Reference in New Issue
Block a user