Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
@@ -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;