.GLDraw: InitGL -> Init

git-svn-id: svn://ultimatepp.org/upp/trunk@6361 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-09-16 13:15:31 +00:00
parent 9bf8d59bf1
commit 927473724e
2 changed files with 3 additions and 3 deletions

View file

@ -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_;

View file

@ -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();