mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.GLDraw: InitGL -> Init
git-svn-id: svn://ultimatepp.org/upp/trunk@6361 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9bf8d59bf1
commit
927473724e
2 changed files with 3 additions and 3 deletions
|
|
@ -145,7 +145,7 @@ void GLDraw::PutRect(const Rect& r, Color color)
|
|||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
}
|
||||
|
||||
void GLDraw::InitGL(Size sz, uint64 context_)
|
||||
void GLDraw::Init(Size sz, uint64 context_)
|
||||
{
|
||||
context = context_;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
namespace Upp {
|
||||
|
||||
class GLDraw : SDraw {
|
||||
class GLDraw : public SDraw {
|
||||
void SetColor(Color c);
|
||||
|
||||
uint64 context;
|
||||
|
|
@ -15,7 +15,7 @@ public:
|
|||
virtual void PutImage(Point p, const Image& m, const Rect& src);
|
||||
virtual void PutRect(const Rect& r, Color color);
|
||||
|
||||
void InitGL(Size sz, uint64 context = 0);
|
||||
void Init(Size sz, uint64 context = 0);
|
||||
|
||||
static void ClearCache();
|
||||
static void ResetCache();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue