Robmaister's picture

Framebuffer Object sample crashes

Project:The Open Toolkit library
Version:1.1-2014-01-02
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» fixed

Thanks, fixed in trunk r3082.

the Fiddler's picture

#2

Version:1.x-dev» 1.1-2014-01-02
Status:fixed» closed

Closing bugs fixed in OpenTK 1.1.

If this is still an issue please file a new bug report at https://github.com/opentk/opentk/issues