summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/23-vectordisplay/vectordisplay.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/23-vectordisplay/vectordisplay.h')
-rw-r--r--3rdparty/bgfx/examples/23-vectordisplay/vectordisplay.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/3rdparty/bgfx/examples/23-vectordisplay/vectordisplay.h b/3rdparty/bgfx/examples/23-vectordisplay/vectordisplay.h
index 3dfe15732d9..3b208b01978 100644
--- a/3rdparty/bgfx/examples/23-vectordisplay/vectordisplay.h
+++ b/3rdparty/bgfx/examples/23-vectordisplay/vectordisplay.h
@@ -1,12 +1,6 @@
/*
* Copyright 2014 Kai Jourdan. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
- *
- * Based on code from Brian Luczkiewicz
- * https://github.com/blucz/Vector
- *
- * Uses the SIMPLEX-Font which is a variant of the Hershey font (public domain)
- * http://paulbourke.net/dataformats/hershey/
*/
#ifndef __VECTORDISPLAY_H__
@@ -28,7 +22,7 @@ struct PosColorUvVertex
uint32_t m_abgr;
static void init();
- static bgfx::VertexDecl ms_decl;
+ static bgfx::VertexLayout ms_layout;
};
class VectorDisplay
@@ -41,7 +35,7 @@ public:
}
void init(bool _originBottomLeft, float _texelHalf);
-
+
void setup(uint16_t _width, uint16_t _height, uint8_t _view = 2);
void resize(uint16_t _width, uint16_t _height);
void teardown();