ravi.joshi53's picture

Error OpenTK.Graphics.OpenGL.GL does not contain a definition for 'MultMatrixf'

I am migrating from TAO framework to OpenTK. In TAO, I was having following code GL.MultMatrixf(_matrix);, which is not available in OpenTK. Below is the error-

OpenTK.Graphics.OpenGL.GL does not contain a definition for 'MultMatrixf'

What is the workaround for this?


Comments

Comment viewing options

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

GL.MultMatrix without the f.

ravi.joshi53's picture
the Fiddler wrote:

GL.MultMatrix without the f.

Cool.... However it is deprecated.... Can you please suggest me the desired way?

the Fiddler's picture

GL.MultMatrix was deprecated in OpenGL 3.0 and removed in OpenGL 3.2. Since your application is targeting OpenGL 1.x, you can keep using GL.MultMatrix without a problem.

ravi.joshi53's picture

Thanks a lot Fiddler