Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Managing OpenGL Versions


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
22 replies to this topic

#21 Neosettler   Members   -  Reputation: 150

Like
0Likes
Like

Posted 03 December 2012 - 02:41 PM

try to use errno to catch last system error.


Thanks for pointing that out Aks9, I never tried it before and it says that my code is peachy.

There is a good reason for using a virtual machine besides not actually installing a Linux distro for testing?


Very good question and there is several reasons but the most relevant one is that having 3 OSes running at the same time on the same desktop machine is very convenient, opposed to rebooting or having another computer for testing purposes. Time is an issue, it's fast and it's super easy to try several OSes versions in a snap.

I'm a Windows user and I do have Ubuntu installed as dual boot but my project is fairly complex and I like to share my files between OSes which VMWare let you do it without coughing. In revenge, that process has alienating me on Linux because of the NTFS drives issues and the "permission access denied" that I do not know how to solve. I'm not a fan of Linux based OSes honestly. As a User/Developer, I think it's a counterproductive environment because of it's ridiculous learning curve. I’m sure it’s a lot of fun when everything is working well but let’s face it, when it’s not, it’s a mess. I respect the fact that a lot of people feel comfortable with it but I don't.

Edited by Neosettler, 03 December 2012 - 03:22 PM.


Sponsor:

#22 Neosettler   Members   -  Reputation: 150

Like
0Likes
Like

Posted 03 December 2012 - 03:20 PM

Ah, errno return:
"Resource temporarily unavailable" on VMware Ubuntu but nothing under native Windows 8. I'll investigate further more.

#23 Aks9   Members   -  Reputation: 916

Like
0Likes
Like

Posted 04 December 2012 - 02:09 PM

Ah, errno return:
"Resource temporarily unavailable" on VMware Ubuntu but nothing under native Windows 8. I'll investigate further more.

It sounds like you don't have an active GL context. Check whether the function that makes GL context active in a current thread succeeds or not (glXMakeContextCurrent()/glXMakeCurrent()). That could explain why glGetError() returns zero. Posted Image
On Windows use GetLastError(), not errno!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS