Compiler warning fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37275 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -35,7 +35,7 @@ class GLRendererRoster;
|
|||||||
|
|
||||||
class BGLView : public BView {
|
class BGLView : public BView {
|
||||||
public:
|
public:
|
||||||
BGLView(BRect rect, char* name,
|
BGLView(BRect rect, const char* name,
|
||||||
ulong resizingMode, ulong mode,
|
ulong resizingMode, ulong mode,
|
||||||
ulong options);
|
ulong options);
|
||||||
virtual ~BGLView();
|
virtual ~BGLView();
|
||||||
|
|||||||
@@ -55,8 +55,8 @@ struct glview_direct_info {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
BGLView::BGLView(BRect rect, char* name, ulong resizingMode, ulong mode,
|
BGLView::BGLView(BRect rect, const char* name, ulong resizingMode, ulong mode,
|
||||||
ulong options)
|
ulong options)
|
||||||
:
|
:
|
||||||
BView(rect, name, B_FOLLOW_ALL_SIDES, mode | B_WILL_DRAW | B_FRAME_EVENTS),
|
BView(rect, name, B_FOLLOW_ALL_SIDES, mode | B_WILL_DRAW | B_FRAME_EVENTS),
|
||||||
// | B_FULL_UPDATE_ON_RESIZE)
|
// | B_FULL_UPDATE_ON_RESIZE)
|
||||||
|
|||||||
Reference in New Issue
Block a user