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!


arithma

Member Since 10 Feb 2005
Offline Last Active Nov 27 2013 11:27 AM

Posts I've Made

In Topic: .NET: Using a SerialPort's BaseStream after port was GC'ed

31 July 2012 - 04:56 AM

The child stream probably has a reference to the port.

In Topic: [Help] Vertex pos/normal/coord

28 June 2012 - 08:17 AM

@larspensjo: Thanks, got it!

A check: You are doing the linking (glLinkProgram) of the shader program after the call of glBindAttribLocation(), don't you?


I thought you were warning me of a pitfall rather than reminding me to do the right thing.


In Topic: [Help] Vertex pos/normal/coord

28 June 2012 - 02:26 AM

Got it solved!
I just had to use glGetAttributeLocation to get the identifiers from the linked shader program.

In Topic: [Help] Vertex pos/normal/coord

26 June 2012 - 09:33 AM

@szecs: sizeof(Vertex) returns 32, which is 8*sizeof(float).
@larspensjo: I tried both tricks (which are really nifty) but to no avail.
@mhagain: I am targeting opengl es 2 on iPhone, so OGL3 is unfortunately not an option.

In Topic: WinMain violates RAII (when code crashes)

28 December 2010 - 07:07 PM

Quote:
now I know it's the 'runtime memory leak' that I'm always scared of, not 'app crash memory leak', thx.

Not being scared of an 'app crash memory leak' shouldn't get you too cozy about an app crash.
There are only a few cases where an app crash may make sense, otherwise, a sanely built application that is well tested should not crash and burn.

PARTNERS