Speedup for color lookups
Prevent crashes when things other than the server utilize LayerData objects git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4949 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -37,7 +37,8 @@ public:
|
||||
alphaFncMode = B_ALPHA_OVERLAY;
|
||||
scale = 1.0;
|
||||
fontAliasing = true;
|
||||
font = *(fontserver->GetSystemPlain());
|
||||
if(fontserver)
|
||||
font = *(fontserver->GetSystemPlain());
|
||||
|
||||
clippReg = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user