Merge lp:~tino79/widelands/fixbug1204226 into lp:widelands

Proposed by Tino
Status: Merged
Merged at revision: 6663
Proposed branch: lp:~tino79/widelands/fixbug1204226
Merge into: lp:widelands
Diff against target: 25 lines (+2/-2)
2 files modified
src/graphic/render/gl_surface_screen.cc (+1/-1)
src/graphic/render/gl_surface_texture.cc (+1/-1)
To merge this branch: bzr merge lp:~tino79/widelands/fixbug1204226
Reviewer Review Type Date Requested Status
SirVer Approve
Review via email: mp+176620@code.launchpad.net

Description of the change

A quick fix for bug #1204226

To post a comment you must log in.
Revision history for this message
SirVer (sirver) wrote :

Doh!!! That was really stupid that I did not catch this. Thanks for the find tino, would you mind committing this? I am unable to access launchpad for a while.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/graphic/render/gl_surface_screen.cc'
--- src/graphic/render/gl_surface_screen.cc 2013-07-23 18:04:32 +0000
+++ src/graphic/render/gl_surface_screen.cc 2013-07-24 08:03:33 +0000
@@ -72,7 +72,7 @@
72 glDrawPixels(m_w, m_h, GL_RGBA, GL_UNSIGNED_BYTE, m_pixels.get());72 glDrawPixels(m_w, m_h, GL_RGBA, GL_UNSIGNED_BYTE, m_pixels.get());
73 }73 }
7474
75 m_pixels.reset(0);75 m_pixels.reset(nullptr);
76}76}
7777
78uint16_t GLSurfaceScreen::get_pitch() const {78uint16_t GLSurfaceScreen::get_pitch() const {
7979
=== modified file 'src/graphic/render/gl_surface_texture.cc'
--- src/graphic/render/gl_surface_texture.cc 2013-07-23 18:04:32 +0000
+++ src/graphic/render/gl_surface_texture.cc 2013-07-24 08:03:33 +0000
@@ -228,7 +228,7 @@
228 GL_UNSIGNED_BYTE, m_pixels.get());228 GL_UNSIGNED_BYTE, m_pixels.get());
229 }229 }
230230
231 m_pixels.reset(0);231 m_pixels.reset(nullptr);
232}232}
233233
234uint16_t GLSurfaceTexture::get_pitch() const {234uint16_t GLSurfaceTexture::get_pitch() const {

Subscribers

People subscribed via source and target branches

to status/vote changes: