Miha Lunar
e5da24f490
Fix for crash when too many lines / vertices
...
When a lot of lines are being drawn, this can overflow the vertex buffer, causing a crash in `nvgRenderFlush`. While the underlying code handles this case in an okay manner (truncating the vertex buffer instead of crashing), the `nvgRenderFlush` code is missing a check for this case, causing it to think it has more space than was allocated.
I tried to fix it with multiple buffers as mentioned in #160 , however it seems more complex than it appears. This fix just makes it truncate the output according to the actual allocated amount of bytes in the vertex buffer, so it doesn't crash at least.
2014-11-21 00:57:33 +01:00
Branimir Karadzic
00d5f1adcb
Fixed clang warning.
2014-11-19 21:07:32 -08:00
Dario Manesku
7d2ef49435
Changed imguiTabs() api. Now you can set additional 'enabled' flag per tab.
2014-11-19 16:21:02 +01:00
Branimir Karadžić
6c7589c0c9
Cleanup.
2014-11-17 21:35:53 -08:00
Branimir Karadzic
d54063bfd5
Fixed GCC/Clang warnings.
2014-11-17 08:33:14 -08:00
Branimir Karadžić
ff44d73480
Updated NanoVG and Blendish.
2014-11-16 18:59:17 -08:00
Branimir Karadžić
24df14f9f3
Cleanup.
2014-11-16 09:47:48 -08:00
Branimir Karadžić
8cca656df6
Cleanup.
2014-11-16 00:06:25 -08:00
Branimir Karadžić
616c0ed408
Cleanup.
2014-11-15 22:03:57 -08:00
Branimir Karadžić
283be1f42d
Cleanup.
2014-11-15 17:19:14 -08:00
Branimir Karadžić
a4b3c2ae36
Added 23-vectordisplay shaders and screenshot.
2014-11-15 17:00:51 -08:00
Branimir Karadzic
c805b36cba
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-11-15 16:11:21 -08:00
Branimir Karadzic
57715c3cc9
Added 23-vectordisplay example.
2014-11-15 16:10:44 -08:00
Branimir Karadžić
307b0df945
Updated README.
2014-11-15 15:48:24 -08:00
Mike Popoloski
48bfab3713
Fixing compile errors on MSVC.
2014-11-15 15:52:14 -05:00
Mike Popoloski
893035af65
Merge branch 'master' of https://github.com/bkaradzic/bgfx
2014-11-15 13:32:22 -05:00
Mike Popoloski
2148c54572
Adding WinRT entrypoint for examples.
2014-11-14 08:23:31 -05:00
Dario Manesku
8e578b3d37
Fixing imgui mouse scroll.
2014-11-14 11:27:17 +01:00
Branimir Karadžić
545978d661
Cleanup.
2014-11-12 22:16:19 -08:00
Branimir Karadžić
e147e7b2e6
OVR: Added rendering without distortion.
2014-11-12 21:26:28 -08:00
Dario Manesku
9cc92fd2e1
Cleanup unused code.
2014-11-11 02:27:13 +01:00
Dario Manesku
aa6c92ff40
Fixing inputGetChar().
2014-11-11 02:09:39 +01:00
Dario Manesku
c7bd2c5e67
Making imguiCube() align better.
2014-11-10 22:36:38 +01:00
Dario Manesku
be0ec20d79
Cleanup.
2014-11-10 22:36:37 +01:00
Dario Manesku
ea4d52ff46
Added click event for imguiImage().
2014-11-10 22:36:36 +01:00
Dario Manesku
9605583491
Collapse switch for imguiColorWheel() is now always enabeld.
2014-11-10 22:36:36 +01:00
Branimir Karadzic
43b9802b48
Fixed Linux build.
2014-11-10 09:08:26 -08:00
Mike Popoloski
0163c2420f
Fixing compile errors from freetype header when building for WinRT.
2014-11-09 18:26:10 -05:00
Branimir Karadžić
0f48d59a01
Fixed typo.
2014-11-09 11:55:45 -08:00
Branimir Karadzic
7f2f523c43
Fixed compile error.
2014-11-08 22:09:31 -08:00
Branimir Karadžić
31efb2991f
Updated to OVR 0.4.3. Added support for event char to read keyboard text input.
2014-11-08 20:57:47 -08:00
Branimir Karadžić
3576434c2b
Fixed cubemap shader.
2014-11-03 22:52:36 -08:00
Branimir Karadžić
c400562d61
HMD fixes.
2014-11-03 19:11:08 -08:00
Branimir Karadžić
d3b49ffc68
Cleanup.
2014-11-02 00:24:58 -07:00
Branimir Karadžić
a2153729be
Added HMD recenter support. Updated examples to support HMD.
2014-11-02 00:06:18 -07:00
Branimir Karadžić
f6cf4df3d3
Added OculusVR support.
2014-10-28 22:08:55 -07:00
Branimir Karadžić
62abe9db5e
Cleanup.
2014-10-25 19:16:24 -07:00
Branimir Karadžić
208a348ab2
Fixed compile errors. Added default part of view debug name. Added example how to use view debug name.
2014-10-25 18:07:51 -07:00
Branimir Karadžić
3947174959
Android: Removed status bar.
2014-10-24 20:33:56 -07:00
Branimir Karadzic
7a829583ce
Removed _USE_MATH_DEFINES.
2014-10-23 21:10:44 -07:00
Branimir Karadzic
d0a89ff95d
Removed unused headers.
2014-10-17 22:52:14 -07:00
Branimir Karadzic
46ec4e390c
Fixed clang build.
2014-10-17 09:45:45 -07:00
Branimir Karadžić
5e39e3b16a
clang on VS201x.
2014-10-16 19:54:29 -07:00
Branimir Karadžić
1a765e9646
Cleanup.
2014-10-14 21:36:05 -07:00
Branimir Karadžić
7fa124eeab
Fixed alignment macro.
2014-10-13 21:31:18 -07:00
Branimir Karadžić
8f6495be0b
SDL2: Fixed args.
2014-10-12 16:41:15 -07:00
Branimir Karadžić
8dc34db44a
SDL2: Fixed mouse button.
2014-10-12 14:04:06 -07:00
Branimir Karadžić
cd2d643522
Cleanup.
2014-10-12 11:51:58 -07:00
Branimir Karadzic
42c9dafd03
Cleanup.
2014-10-12 11:41:04 -07:00
Branimir Karadžić
8abed27c0c
Added SDL2_DIR when using --with-sdl GENie config.
2014-10-12 09:58:06 -07:00