diff options
author | Chris Xiong <chirs241097@gmail.com> | 2018-02-03 00:55:26 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2018-02-03 00:55:26 +0800 |
commit | 1eb88d4f5d5cb05d62be1d4a0c88c7399f7c0de0 (patch) | |
tree | 4daf8fa3f4e8fff38a61b8e2da752df8b519f232 /smelt/glfw_m/smelt_config.hpp | |
parent | 6f955e10a71e364f527ea654156ea83785e9ada8 (diff) | |
download | SMELT-1eb88d4f5d5cb05d62be1d4a0c88c7399f7c0de0.tar.xz |
Added the GL 3.2+ port.
Fixed poor performance of the truetype renderer.
(Partially) Fixed texture locking.
Minor addition and fixes to the math library.
Diffstat (limited to 'smelt/glfw_m/smelt_config.hpp')
-rw-r--r-- | smelt/glfw_m/smelt_config.hpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/smelt/glfw_m/smelt_config.hpp b/smelt/glfw_m/smelt_config.hpp new file mode 100644 index 0000000..d215d36 --- /dev/null +++ b/smelt/glfw_m/smelt_config.hpp @@ -0,0 +1,30 @@ +// -*- C++ -*- +/* + * Simple MultimEdia LiTerator(SMELT) + * by Chris Xiong 2015 + * Configuration header for SDL version + * + * Modify this header according to your own requirements. + * + */ + +/* + * Maximum audio channels. + * (How many audio can be played simultaneously?) + */ +#define SRC_MAX 128 + +/* + * Vertex buffer size. + */ +#define VERTEX_BUFFER_SIZE 4000 + +/* + * Uncomment this to build a "dumb" version with no audio routines. + */ +//#define ENABLE_DUMB + +/* + * Undefine this to disable ogg support. + */ +#define ENABLE_OGG_SUPPORT |