diff options
author | falkTX <falktx@gmail.com> | 2014-04-26 03:45:12 +0100 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2014-04-26 03:45:12 +0100 |
commit | 25c42b1dfc35e9d285d355d3d13b38d97df8b049 (patch) | |
tree | 207881d97b851e0ca8074ba0451a800d2b0768e5 /examples | |
parent | 1c28e97556dd66a2937dde059f8642d9fbc2c004 (diff) |
Fix windows build
Diffstat (limited to 'examples')
-rw-r--r-- | examples/text.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/text.cpp b/examples/text.cpp index 31685ee4..d91e1e84 100644 --- a/examples/text.cpp +++ b/examples/text.cpp @@ -84,7 +84,7 @@ public: wchar_t* text = L"A Quick Brown Fox Jumps Over The Lazy Dog 0123456789"; #if 1 - atlas = texture_atlas_new(600, 300, 2); + atlas = texture_atlas_new(600, 300, 1); DISTRHO_SAFE_ASSERT_RETURN(atlas != nullptr,); //fontmgr = font_manager_new(600, 200, 2); @@ -175,8 +175,8 @@ private: //mat4_set_identity(&view); glViewport(0, 0, width, height); - mat4_set_orthographic(&projection, 0, width, 0, height, width, height); - //mat4_set_orthographic(&projection, 0, width, 0, height, -1, 1); + //mat4_set_orthographic(&projection, 0, width, 0, height, width, height); + mat4_set_orthographic(&projection, 0, width, 0, height, -1, 1); } texture_atlas_t* atlas; |