glife: Pass const char* for name vs char*
* Upgrades to Mesa vs Be BGLView
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
// ------------------------------------------------------
|
// ------------------------------------------------------
|
||||||
// GLifeView Class Constructor Definition
|
// GLifeView Class Constructor Definition
|
||||||
GLifeView::GLifeView(BRect rect, char* name, ulong resizingMode,
|
GLifeView::GLifeView(BRect rect, const char* name, ulong resizingMode,
|
||||||
ulong options, GLifeState* pglsState)
|
ulong options, GLifeState* pglsState)
|
||||||
:
|
:
|
||||||
BGLView(rect, name, resizingMode, 0, options),
|
BGLView(rect, name, resizingMode, 0, options),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
class GLifeView : public BGLView {
|
class GLifeView : public BGLView {
|
||||||
public:
|
public:
|
||||||
// Constructor & Destructor
|
// Constructor & Destructor
|
||||||
GLifeView( BRect, char*, ulong, ulong, GLifeState* );
|
GLifeView( BRect, const char*, ulong, ulong, GLifeState* );
|
||||||
~GLifeView( void );
|
~GLifeView( void );
|
||||||
|
|
||||||
// Public Methods
|
// Public Methods
|
||||||
|
|||||||
Reference in New Issue
Block a user