cocos2d/cocos2d-x — pull request #1715 by dumganhar (2012-12-04 08:50:36+00:00)
Title: Fixed some issues for linux port.

* #extension GL_OES_standard_derivatives : enable only valid in GL_ES, this fixes crashes on some Linux machines.
* Added -DCOCOS2D_DEBUG=1 for linux if building in debug mode.
* Enabled stencil buffer for linux.
* fixed compilation errors in eclipse project for linux.