
Framebuffer Object sample crashes
Posted Sunday, 4 September, 2011 - 08:08 by Robmaister| Project: | The Open Toolkit library |
| Version: | 1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Description
It's a pretty simple fix, the TorusKnot shape is only used in the Framebuffer Object sample, and TorusKnot is constructed with a "TexCount" value of 1. 1 is still a valid value according to your assert message, but the condition doesn't match the requirements stated in the message.
On line 22 of OpenTK.Examples/Shapes/TorusKnot.cs, replace "TexCount > 1" with "TexCount >= 1"


Comments
#1
Thanks, fixed in trunk r3082.