Fix broken simulator build in master. Please patch next branch, too.
Merge pull request #853 from kwhatmough/master

Patch master with fix for broken simulator build. Please also patch next branch.
Fixes unsupported framebuffer issue with  qualcomm's android driver.

When DepthStencilTargets are created using GL_DEPTH24_STENCIL8_OES
the same render buffer has to be used as depth and stencil attachment.

It seems that other driver implementations are not as restrictive as
qualcomm's and allow different renderbuffers. On tested Qualcomm Adreno
200 and 320 android devices however this resulted in an unsupported
Framebuffer.

Issue is fixed by setting a flag whether or not the DepthStencilTarget
uses an packed format. This flag is considered when attaching renderbuffers.
Merge pull request #862 from WolfgangD/master

Fixes unsupported framebuffer issue with qualcomm's android driver.
Merge pull request #864 from blackberry/master

Merged master to next