From 126ae913efb3829c980a2151db5bbcfd68c5b39c Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 17 Jun 2013 10:56:43 +0200 Subject: Added gamma correction value to dw::core::ImgBuf. --- dw/fltkplatform.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dw/fltkplatform.cc') diff --git a/dw/fltkplatform.cc b/dw/fltkplatform.cc index 7dd87a18..1d77e289 100644 --- a/dw/fltkplatform.cc +++ b/dw/fltkplatform.cc @@ -704,9 +704,9 @@ void FltkPlatform::copySelection(const char *text) } core::Imgbuf *FltkPlatform::createImgbuf (core::Imgbuf::Type type, - int width, int height) + int width, int height, double gamma) { - return new FltkImgbuf (type, width, height); + return new FltkImgbuf (type, width, height, gamma); } core::ui::ResourceFactory *FltkPlatform::getResourceFactory () -- cgit v1.2.3