diff options
author | 2014-03-07 04:01:56 +0000 | |
---|---|---|
committer | 2014-03-07 04:01:56 +0000 | |
commit | 3c7ced2cf99a2874e4d761e6859dbc285bbed5ac (patch) | |
tree | 31d746e387f509c6fd83c4a1a0eea70c1fb783c0 /background.h | |
parent | 34743b2b02f912f92a9a17b310979aab95293532 (diff) | |
download | bullet-lab-remix-3c7ced2cf99a2874e4d761e6859dbc285bbed5ac.tar.xz |
Fix compile errors in Windows and another memory leak, which won't be found under Linux. Done testing Windows version.
Diffstat (limited to 'background.h')
-rw-r--r-- | background.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/background.h b/background.h index 2f6a56f..9cc6a37 100644 --- a/background.h +++ b/background.h @@ -437,9 +437,8 @@ public: void Render() { #ifdef WIN32 - skygrad->SetTexture(0); - skygrad->SetTextureRect(0,0,800,600); - skygrad->SetBlendMode(BLEND_DEFAULT); + skygrad.tex=0; + skygrad.blend=BLEND_DEFAULT; #endif skygrad.v[0].col=skygrad.v[1].col=colSkyTop.GetHWColor(); skygrad.v[2].col=skygrad.v[3].col=colSkyBtm.GetHWColor(); |