diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-05-05 23:48:06 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-05-05 23:48:06 +0800 |
commit | bda9ef9345786d48fd0d98b0855ce965e1028b2f (patch) | |
tree | cdcc7adc9f496c37cbcc75d8cccd2066d02c277b /include/smelt.hpp | |
parent | c2b99f6321965b2c5b30a1b72b29119281c2d7e1 (diff) | |
download | SMELT-bda9ef9345786d48fd0d98b0855ce965e1028b2f.tar.xz |
Add support for batching vertices with custom indices.
Fix compiler warnings.
Diffstat (limited to 'include/smelt.hpp')
-rw-r--r-- | include/smelt.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/smelt.hpp b/include/smelt.hpp index 3894e34..40bc52f 100644 --- a/include/smelt.hpp +++ b/include/smelt.hpp @@ -22,7 +22,7 @@ * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with Foobar. If not, see <http://www.gnu.org/licenses/>. + * along with SMELT. If not, see <http://www.gnu.org/licenses/>. * */ @@ -362,6 +362,7 @@ public: virtual void smRenderQuad(smQuad *q)=0; virtual smVertex* smGetVertArray()=0; 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 SMTEX smTargetTexture(SMTRG targ)=0; |