X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=demos%2Fdesertpillars%2Fsource%2Fdesertpillars.cpp;fp=demos%2Fdesertpillars%2Fsource%2Fdesertpillars.cpp;h=bfb25f30c6b5c3564dee3746955ace47ddf8bf51;hp=1afd57b8d1a41cc50798976213680061ab15628d;hb=cf8a11627e9bba5631b16fc32e2fee5546ea9c3c;hpb=eddb5cfd959eaa202ee6f95cd2049349ec920829 diff --git a/demos/desertpillars/source/desertpillars.cpp b/demos/desertpillars/source/desertpillars.cpp index 1afd57b8..bfb25f30 100644 --- a/demos/desertpillars/source/desertpillars.cpp +++ b/demos/desertpillars/source/desertpillars.cpp @@ -49,7 +49,7 @@ DesertPillars::DesertPillars(int, char **): env_bld.set_debug_name("Environment sequence"); env_seq.reset(env_bld.build()); - env_map = make_unique(256, GL::RGB16F, 7, sphere, *env_seq); + env_map = make_unique(256, GL::RGBA16F, 7, sphere, *env_seq); env_map->set_debug_name("Environment map"); sphere.set_matrix(GL::Matrix::translation(GL::Vector3(0.0f, 0.0f, 3.3f)));