-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
creating window failed: VersionUnavailable: WGL: OpenGL profile requested but WGL_ARB_create_context_profile is unavailable #26
Comments
Hi! So I've experimented a bit and tried using OpenGL 3.1 in glhf, which Pixel uses for OpenGL. The trouble is, that go-gl only supports gles2 in version 3.1, which lacks several important OpenGL functions which I use (such as So, I'm sorry, but right now, I won't be able to use a lower version of OpenGL. However, your graphics card is perfectly capable of doing OpenGL 3.3, it's just that Intel was lazy enough not to make proper drivers. But in Linux, everything should work from what I googled. I'd also like to note, that except for Intel HD 2000 and Intel HD 3000 on Windows, pretty much all GPUs manufactured <10 years ago support OpenGL 3.3, so I don't think it's a very big deal or a non-starter. And one more note, Engo actually uses OpenGL 2.1, which is even older and worse. |
I guess ultimately my concern would be for users running old hardware not being able to play my game. In what ways is OpenGL 2.1 older/worse? ie. what features / potential performance gains are lost? |
Ok, so I was experimenting again and figured out, that even though OpenGL 2.1 lack several important features itself (such as vertex arrays), it supports numerous standard extensions that make it forward-compatible. I've added the branch |
Laptop is physically elsewhere at the moment, but should be able to get back to you in 2 or 3 days. |
@faiface FYI, looks like you haven't pushed up the gl2.1 branch code yet. |
Correct, pushed now. Thanks. |
Ok, cool. I would like you to also try switching the |
Fails to run. Platformer Example:
Batch Example:
|
@faiface Pinging you on this one so it's not forgotten :) |
@silbinarywolf Since the OpenGL 2.1 support proven to be non-problematic, I will merge it to the master when I have time. I've been quite busy recently, I expect to do it in 2 or 3 days. But thanks for reminding anyway :) |
Yeah no worries. Thanks for your work on this, love the simplicity of this library :) |
Ok, I just switched Pixel and GLHF to OpenGL 2.1. Sorry for the delay, I was really busy. Does it work for you? |
Unfortunately, I had to switch back to OpenGL 3.3, because this doesn't seem to be able to work on OS X (sort of mixing new and old OpenGL). If I figure this out later, I'll let you know. |
This change mirrors the change done in the master branch (see faiface#78) for users of gl2.1, to provide access to polling of events without rendering the screen. Updates faiface#26.
Hello,
My understanding of this error from a quick Google is that it means my graphics card and/or its drivers are outdated. (ie. not supporting above OpenGL 3.1)
Was keen to use this but if it wont run at all on slightly older machines makes it a non-starter.
Also worth noting that the Engo engine runs fine on this machine, looking at the imports... seems it's using "github.com/go-gl/glfw/v3.1/glfw".
Any plans to support older versions of OpenGL or similar?
System:
Error from running platformer example:
The text was updated successfully, but these errors were encountered: