-
Notifications
You must be signed in to change notification settings - Fork 10
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
OpenGL not supported #29
Comments
That's odd; I'll look into it. GL2.0 is quite old, so there shouldn't be any issues unless you are running in a VM or netbook level of machine. |
I'm prying into that line of code.
Nothing appears to work :( |
Mmmm 😕 p.s. I've just updated the gem to 0.1.1 bringing it up to date with master. |
Try faking out the check code (ashton/mixins/version_checking.rb) and see if GL is there and supports shaders? May just be that it is lying to you. |
Ah great! :) Do you have any ideas of other things I can try? - How can I find the version of OpenGL that I'm running? |
I tried it but it complains about I guess it's not picking it up for some reason. I'm running on mavericks. |
No, I mean to fake it with: module Ashton
module Mixins
module VersionChecking
# Check if a specific OpenGL version is supported on this machine.
#
# @raise NotSupportedError
def check_opengl_version(version)
nil
end
# Check if a specific OpenGL extension is supported on this machine.
#
# @raise NotSupportedError
def check_opengl_extension(extension)
nil
end
end
end
end |
Oh, I see, sorry. Right, you've done that. Odd. I'll try building on my mac and publishing a binary gem - best chance you have unless someone else has any wisdom ;) |
I'm trying a couple of things as well. Ugh! Thanks for the help. |
Sorry, I didn't get sorted on my Mac. Busy with other things (work). What sort of machine do you have that runs gl es? Should only get that on
|
The library you link uses ffi, not a native module, so that is a bit different. It also intentionally supports open gl es, which I don't. |
I'm trying to look into the source code of the version check to understand if there's something I'm missing. At this point I'm clueless. Do you know where I can see what version of OpenGL I'm running? Thanks. |
No idea, sorry. |
After a long long long down-the-rabbit-hole I think I found the issue, larskanis/opengl#12. |
@spooner I managed to get everything working, but something strange is happening. Take a look at the image. Can you see those artefacts around the letters? |
Very strange. Any problems with the other demos? |
@spooner they are all generally quite dark, but I think this is the only with this problem. |
Well, I know I've seen issues with the shaders with Gosu font rendering before. Unless you need shaders with fonts, I wouldn't worry too much - the problem might well be as much with my ad hoc outline shader implementation, rather than the opengl used. |
I just need font with outline. Basically white font with black outline. Thanks for the help @spooner |
Hello,
Trying to build a shader and started getting this error:
I'm, running on a mac machine and got OpenGL installed.
Any ideas?
The text was updated successfully, but these errors were encountered: