JWman's picture

"Unable to find Entry point named 'glClearDepthf' in DLL 'opengl32.dll"

Project:The Open Toolkit library
Category:bug report
Status:won't fix

Got this exception in nightly build 2012_02_20

I just tried to update from the 1.0 release to the latest nightly build, and I got the error listed in the subject when making the following call:

A workaround is to instead call

To be clear, this was not an issue in the 1.0 release.

Laptop graphics card driver info (with the problem):
Version 2.1.0 - Build
Shading language version : 1.20 - Intel Build
Vendor: Intel
Renderer: Intel(r) Graphics Media Accelerator HD

Works either way on my desktop which has this driver info:
Version: 4.1.10750 Compatibility Profile Context
Shading Language Version: 4.10
Vendor: ATI Technologies Inc.
Renderer: ATI Radeon HD 5700 Series


Comment viewing options

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


Status:open» won't fix

This is unintuitive, but not actually a bug. The type of the parameters matter when using OpenTK.

The documentation tooltips now list which OpenGL version is required for each function. GL.ClearDepth lists two overloads:

  • one taking a double and documented with [requires: v1.0]
  • one taking a float and documented with [requires: v4.1 or ARB_ES2_compatibility]