aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-06 22:52:49 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-06 22:52:49 +0800
commitcc3e00ff8ec937f12e0d3be6f621b69465f7ffbd (patch)
treef26e6c78e14c469d938715aa5023541cb6e65bcc /include
parentbda9ef9345786d48fd0d98b0855ce965e1028b2f (diff)
downloadSMELT-cc3e00ff8ec937f12e0d3be6f621b69465f7ffbd.tar.xz
Add MSAA support.
Add optional parameters for smClrscr.
Diffstat (limited to 'include')
-rw-r--r--include/smelt.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/smelt.hpp b/include/smelt.hpp
index 40bc52f..e9caeb3 100644
--- a/include/smelt.hpp
+++ b/include/smelt.hpp
@@ -355,7 +355,7 @@ public:
virtual void sm3DCamera6f2v(float *pos,float *rot)=0;
virtual void sm2DCamera5f3v(float *pos,float *dpos,float *rot)=0;
virtual void smMultViewMatrix(float *mat)=0;
- virtual void smClrscr(DWORD color)=0;
+ virtual void smClrscr(DWORD color,bool clearcol=true,bool cleardep=true)=0;
virtual void smRenderLinefd(float x1,float y1,float z1,float x2,float y2,float z2,DWORD color)=0;
virtual void smRenderLinefvd(float *p1,float *p2,DWORD color)=0;
virtual void smRenderTriangle(smTriangle *t)=0;
@@ -364,7 +364,7 @@ public:
virtual void smDrawVertArray(int prim,SMTEX texture,int blend,int _primcnt)=0;
virtual void smDrawCustomIndexedVertices(smVertex* vb,WORD* ib,int vbc,int ibc,int blend,SMTEX texture)=0;
- virtual SMTRG smTargetCreate(int w,int h)=0;
+ virtual SMTRG smTargetCreate(int w,int h,int ms=0)=0;
virtual SMTEX smTargetTexture(SMTRG targ)=0;
virtual void smTargetFree(SMTRG targ)=0;