Changed the type of fClipInfo from void * to glview_direct_info in the

BGLView header. This lets us get rid of ugly casting in the implementation.
Also changed a calloc() to malloc(), since the memory is memcpy()'d right
afterwards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32763 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2009-08-27 20:25:40 +00:00
parent cbcc98ed56
commit e35a094d61
2 changed files with 15 additions and 22 deletions
+2 -1
View File
@@ -29,6 +29,7 @@
#include <Window.h>
#include <WindowScreen.h>
struct glview_direct_info;
class BGLRenderer;
class GLRendererRoster;
@@ -102,7 +103,7 @@ private:
uint32 fDitherCount;
BLocker fDrawLock;
BLocker fDisplayLock;
void * fClipInfo;
glview_direct_info * fClipInfo;
BGLRenderer *fRenderer;
GLRendererRoster *fRoster;