Robmaister's picture

Framebuffer Object sample crashes

Project:The Open Toolkit library
Version:1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:fixed
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.