Added license to a number of files
More work on Desktop and DesktopClasses minor API tweak to DisplayDriver Added conditional compilation stuff to AppServer.cpp for debugging purposes TokenHandler now uses BLockers instead of semaphores for locking Can now run the server and see something git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2717 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
//
|
||||
// File Name: ScreenDriver.cpp
|
||||
// Author: DarkWyrm <[email protected]>
|
||||
// Gabe Yoder <[email protected]>
|
||||
// Description: BWindowScreen graphics module
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
@@ -1220,12 +1221,12 @@ void ScreenDriver::SetPixelPattern(int x, int y, uint8 *pattern, uint8 patternin
|
||||
|
||||
if(fbuffer->IsConnected())
|
||||
{
|
||||
uint64 *p64=(uint64*)pattern;
|
||||
// uint64 *p64=(uint64*)pattern;
|
||||
|
||||
// check for transparency in mask. If transparent, we can quit here
|
||||
|
||||
bool transparent_bit=
|
||||
( *p64 & ~((uint64)2 << (32-patternindex)))?true:false;
|
||||
// bool transparent_bit=
|
||||
// ( *p64 & ~((uint64)2 << (32-patternindex)))?true:false;
|
||||
|
||||
// bool highcolor_bit=
|
||||
// ( *p64 & ~((uint64)2 << (64-patternindex)))?true:false;
|
||||
|
||||
Reference in New Issue
Block a user