head 1.2; access; symbols pkgsrc-2015Q4:1.1.0.8 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.6 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.4 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.2 pkgsrc-2015Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2016.01.22.15.26.25; author prlw1; state dead; branches; next 1.1; commitid hylO31lH2Z7qoWRy; 1.1 date 2015.03.08.23.25.39; author joerg; state Exp; branches; next ; commitid mPL9TN760eCklRcy; desc @@ 1.2 log @Update glmark2 to git acac90b257 - Build: Allow disabling the -Werror compiler flag - Build: Allow user defined CXXFLAGS to override all built-in flags - Build: Exclude git repository files from dist tarball - Fix clang build errors - NativeStateMir: Update for newest Mir client API @ text @$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; @ 1.1 log @Fix warnings to build with default clang flags. @ text @d1 1 a1 1 $NetBSD$ @