mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-24 06:05:38 -06:00
GLDraw: DrawGL
git-svn-id: svn://ultimatepp.org/upp/trunk@12413 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e6b5d3129c
commit
834494ae5a
11 changed files with 64 additions and 78 deletions
|
|
@ -21,6 +21,7 @@ void GLTextureDraw::Clear()
|
|||
|
||||
GLTexture GLTextureDraw::GetResult()
|
||||
{
|
||||
GL_TIMING("GLTextureDraw::GetResult");
|
||||
ASSERT(texture);
|
||||
GLTexture t;
|
||||
if(msaa > 1) {
|
||||
|
|
@ -70,6 +71,8 @@ GLTexture GLTextureDraw::GetResult()
|
|||
|
||||
void GLTextureDraw::Create(Size sz_, int msaa_)
|
||||
{
|
||||
GL_TIMING("GLTextureDraw::Create");
|
||||
|
||||
sz = sz_;
|
||||
msaa = msaa_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue