From: Willem J. P. <wjp...@us...> - 2010-04-22 16:49:08
|
gemrb: Infinity Engine emulator The branch master has been updated via 39d2255544d1b3671ef7564665e7d6725ca25c89 (commit) Summary of changes: gemrb/core/Video.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) from e790a6b1468dfebd74e00ddbdf7dfbe03c33ce30 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=39d2255544d1b3671ef7564665e7d6725ca25c89 commit 39d2255544d1b3671ef7564665e7d6725ca25c89 Author: Willem Jan Palenstijn <wjp...@us...> Date: Thu Apr 22 18:48:03 2010 +0200 Remove std:: for MSVC6 diff --git a/gemrb/core/Video.cpp b/gemrb/core/Video.cpp index b702a4c..2fdd706 100644 --- a/gemrb/core/Video.cpp +++ b/gemrb/core/Video.cpp @@ -32,8 +32,8 @@ Video::Video(void) // Initialize gamma correction tables for (int i = 0; i < 256; i++) { - Gamma22toGamma10[i] = (unsigned char)(0.5 + (std::pow (i/255.0, 2.2/1.0) * 255.0)); - Gamma10toGamma22[i] = (unsigned char)(0.5 + (std::pow (i/255.0, 1.0/2.2) * 255.0)); + Gamma22toGamma10[i] = (unsigned char)(0.5 + (pow (i/255.0, 2.2/1.0) * 255.0)); + Gamma10toGamma22[i] = (unsigned char)(0.5 + (pow (i/255.0, 1.0/2.2) * 255.0)); } } ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |