fix ofFbo::updateTexture

+ this fix makes sure to only glPush/glPopAttrib when we are using the fixed GL pipeline.
+ any glPush* and glPop* are deprecated with programmableGL, and would have led to GL errors

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
Merge branch 'feature-elinuxProgrammableGL' of git://github.com/arturoc/openFrameworks into feature-elinuxProgrammableGL
Merge branch 'feature-elinuxProgrammableGL' of git://github.com/arturoc/openFrameworks into feature-elinuxProgrammableGL
Merge branch 'feature-elinuxProgrammableGL' of git://github.com/arturoc/openFrameworks into feature-elinuxProgrammableGL
Merge branch 'feature-elinuxProgrammableGL' of git://github.com/arturoc/openFrameworks into feature-elinuxProgrammableGL
fix gl issue with glPushAttrib

+ glPush / Pop Attrib is deprecated and thus should only affect the fixed function GL pipeline.

+ this commit fixes this by making it dependent on getGlProgrammableRenderer()

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
update openframeworks.xcodeproj for GLProgrammableRenderer name change

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
fix nFrameCount not defined in #windows and #osx

+ seems to be a leftover from a refactor, only affecting windows and os x

we call ofGetFrameNum instead, that works.

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
Merge pull request #15 from tgfrerer/feature-elinuxProgrammableGL

Feature elinux programmable gl