
GraphicsMode.Default.Depth is 32bpp on a laptop which only supports up to 24bpp depth.
Posted Friday, 18 May, 2012 - 16:32 by KimikoMuffin| Project: | The Open Toolkit library |
| Version: | 1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | open |
Jump to:
Description
I've been trying out both 1.0.0 and the nightly builds, and I've run into a crashing bug on the latest nightly build (20120315) on an older machine: GL.BlendEquation throws an EntryPointNotFoundException with the message "Unable to find an entry point 'glBlendEquation' in DLL 'OpenGL32.dll'." However, it works just fine when I use version 1.0.0 of OpenTK instead. It's a Windows XP laptop with 1 GB of RAM and a Radeon Xpress 200M graphics card; I'm not getting problems on a more modern Windows 7 machine.


Comments
#1
GL.BlendEquation requires OpenGL 1.2 or higher. Use
GL.GetString(StringName.Version)to check that OpenGL 1.2 is supported. (Your Xpress 200M should be alright, provided OpenGL drivers are installed).#2
GL.GetString(StringName.Version)returned "1.1.0", so I guess that was it! Wonder why it was working on OpenTK 1.0, then ... Ah well, if you'll excuse me, I'm going to go bang my head against the wall trying to find drivers that will work on a laptop which is only slightly newer than Windows XP SP2.#3
Hm, the GraphicsMode selection code is a little rough around the edges in the nightly builds, and it might be returning a mode without hardware acceleration. Try using GraphicsMode.Default or another mode like 32/16bpp color with 32/24/16bpp depth.
(In theory, non-accelerated modes should not be returned, unless the system doesn't support hardware acceleration at all).
#4
Well, it was running GraphicsMode.Default to begin with, so let's have a look-see ...
Hmm. It crashed when I manually set it to 32bpp color and 32bpp depth, but it did work properly with 32bpp color/24bpp depth.
#5
Notwithstanding the fact that the laptop still only had OpenGL 1.1.0 and therefore technically isn't supported, I'm gonna rename the issue to something that actually reflects what the problem was.