Fixed FBO extension not loading on old hardware

Former-commit-id: 5353ce64e5c2508f7cbc624139e4c823c86bf0fc
This commit is contained in:
Lynix
2013-03-13 00:31:59 +01:00
parent c67b0d709f
commit efd0f5eaf6
3 changed files with 8 additions and 82 deletions

View File

@@ -23,8 +23,7 @@ class NAZARA_API NzRenderTexture : public NzRenderTarget, NzResourceListener, Nz
~NzRenderTexture();
bool AttachBuffer(nzAttachmentPoint attachmentPoint, nzUInt8 index, nzPixelFormat format);
bool AttachTexture(nzAttachmentPoint attachmentPoint, nzUInt8 index, NzTexture* texture);
bool AttachTexture(nzAttachmentPoint attachmentPoint, nzUInt8 index, NzTexture* texture, unsigned int z);
bool AttachTexture(nzAttachmentPoint attachmentPoint, nzUInt8 index, NzTexture* texture, unsigned int z = 0);
bool Create(unsigned int width, unsigned int height, bool lock = false);
void Destroy();