]> git.tdb.fi Git - libs/gl.git/blobdiff - source/ambientocclusion.cpp
Restructure ProgramData to support sharing between Programs
[libs/gl.git] / source / ambientocclusion.cpp
index 9e376a456f760ce84933b6f5f204f4cd21246cd2..a14d35085f73562775bfd4728f51b1e6c1b31d46 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2010-2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include <cmath>
 #include "ambientocclusion.h"
 #include "blend.h"
@@ -82,9 +75,7 @@ namespace GL {
 
 AmbientOcclusion::AmbientOcclusion(unsigned w, unsigned h, float depth_ratio):
        occlude_shader(vertex_shader, occlude_fs),
-       occlude_shdata(occlude_shader),
        combine_shader(vertex_shader, combine_fs),
-       combine_shdata(combine_shader),
        quad(VERTEX2)
 {
        occlusion.storage(GL::RGB, w, h);