View topic - intel video card -> opengl errors



All times are UTC + 1 hour


Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 22 Jul 2012, 18:46 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
gajop wrote:
jK wrote:
(still pre-increment produces more efficient code with non-native vartypes).

theoretically, yes, but aren't compilers allowed to optimize? (i've been told they do for most stl iterators and such)
cppcheck gives a warning on them, so some might optimized some not (and custom classes likely never).

jamerlan wrote:
So that means that "GL_COLOR_ATTACHMENT15_EXT" will be ignored?
damn :oops:

jamerlan wrote:
(GL_ARB_debug_output)
We already have that. The problem is it's impossible to create a debug context with SDL and 90% of the other frameworks. It's one of the reasons I want to get rid off SDL for years.


Top
 Offline Profile  
 
PostPosted: 22 Jul 2012, 18:49 
Spring Developer

Joined: 16 Dec 2006, 20:59
jamerlan wrote:
can you fix and commit this? CommandDrawer.cpp -> glPolygonMode(GL_FRONT_AND_BACK, GL_LINES);

Done


Top
 Offline Profile  
 
PostPosted: 22 Jul 2012, 22:52 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
hey jamerlan! :-)
i recommend you to do patches yourself on git (create github account, fork spring, push patches, tell us). that way, you get propper fame and honor for what you do. ;-)

nice finds! :-)


Top
 Offline Profile  
 
PostPosted: 23 Jul 2012, 17:03 

Joined: 20 Oct 2009, 12:04
hoijui wrote:
do patches yourself

Done: https://github.com/spring/spring/pull/40


Top
 Offline Profile  
 
PostPosted: 24 Jul 2012, 11:27 
Spring Developer

Joined: 16 Dec 2006, 20:59
Thanks for looking into this! Any Intel fixes that do not make the code bloated or unreadable are very welcome.


Top
 Offline Profile  
 
PostPosted: 27 Jul 2012, 19:12 
Malcontent
User avatar

Joined: 27 Feb 2006, 22:04
Location: Hurrrrrr.
jamerlan wrote:
Code:
GLenum errCode;
const GLubyte *errString;

if ((errCode = glGetError()) != GL_NO_ERROR) {
    errString = gluErrorString(errCode);
   LOG("OpenGL Error: %s\n", errString);
}

Hey use this


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.