Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-src_scene-refract.cpp,v 1.1 2015/03/08 23:25:39 joerg Exp $
--- src/scene-refract.cpp.orig 2015-03-05 11:02:14.000000000 +0000
+++ src/scene-refract.cpp
@@ -245,10 +245,8 @@ DistanceRenderTarget::teardown()
{
program_.stop();
program_.release();
- if (tex_) {
- glDeleteTextures(2, &tex_[0]);
- tex_[DEPTH] = tex_[COLOR] = 0;
- }
+ glDeleteTextures(2, &tex_[0]);
+ tex_[DEPTH] = tex_[COLOR] = 0;
if (fbo_) {
glDeleteFramebuffers(1, &fbo_);
fbo_ = 0;