X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpipeline.cpp;h=a7f4130bbab1fffd2605521426f562dbf42a92bf;hp=26073549d9451f943a05b1c183a2b09c6fd30d3f;hb=9087cc0;hpb=a8a04ddd95e57a8f103c04dba317addc32866689 diff --git a/source/pipeline.cpp b/source/pipeline.cpp index 26073549..a7f4130b 100644 --- a/source/pipeline.cpp +++ b/source/pipeline.cpp @@ -234,7 +234,7 @@ void Pipeline::create_targets(unsigned recreate) target_ms = 0; } - PixelFormat color_pf = (hdr ? (alpha ? RGBA16F : RGB16F) : (alpha ? RGBA : RGB)); + PixelFormat color_pf = (hdr ? (alpha ? RGBA16F : RGB16F) : (alpha ? RGBA8 : RGB8)); RenderTargetFormat fmt = (RENDER_COLOR,color_pf, RENDER_DEPTH); if(!postproc.empty() || samples) {