Radar's picture

Chapter 0: Learn OpenTK in 15'

Hi all.
Iam new here and to C#, i just downloaded opentk and started...

I run into a problem with the demo code.
"System.Drawing.Rectangle is defined blah blah...".
ClientRectangle.X etc. just don't work... why is that?

And i've noticed that the reference is just called OpenTK in the tutorial but the file is called OpenTK.dll



Comment viewing options

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

Okay, i have solved it.
A reference to "System.Drawing" needs to be set manually too (which is not mentioned in the tut).