Removed support for OpenGL 2

Former-commit-id: e796c333d6c2ef0550ff4427d36dcfbaf00ef924
This commit is contained in:
Lynix
2015-01-30 15:39:25 +01:00
parent 993b2e4145
commit db4a499151
30 changed files with 160 additions and 1151 deletions

View File

@@ -329,12 +329,6 @@ bool NzRenderTexture::AttachTexture(nzAttachmentPoint attachmentPoint, nzUInt8 i
bool NzRenderTexture::Create(bool lock)
{
if (!IsSupported())
{
NazaraError("Render textures not supported");
return false;
}
Destroy();
#if NAZARA_RENDERER_SAFE
@@ -742,11 +736,6 @@ bool NzRenderTexture::HasContext() const
return false;
}
bool NzRenderTexture::IsSupported()
{
return NzOpenGL::IsSupported(nzOpenGLExtension_FrameBufferObject);
}
void NzRenderTexture::Blit(NzRenderTexture* src, NzRenderTexture* dst, nzUInt32 buffers, bool bilinearFilter)
{
#if NAZARA_RENDERER_SAFE