Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2010-01-29 15:13:36 +0300
committerThorvald Natvig <slicer@users.sourceforge.net>2010-01-29 15:13:36 +0300
commit6f637c6f038bc7b4e9df9c03ca9a93611947c286 (patch)
tree6e01262fddb614aa75e057b95bada04b01cd01cd /overlay
parent705738a3f1e13f1487ee2e40580ec1fac1949af8 (diff)
Indent, changelog, submodule and language update
Diffstat (limited to 'overlay')
-rw-r--r--overlay/opengl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/overlay/opengl.cpp b/overlay/opengl.cpp
index df7fc8241..702ea3a11 100644
--- a/overlay/opengl.cpp
+++ b/overlay/opengl.cpp
@@ -194,10 +194,10 @@ void Context::blit(unsigned int x, unsigned int y, unsigned int w, unsigned int
if ((x == 0) && (y == 0) && (w == uiWidth) && (h == uiHeight)) {
oglTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, uiWidth, uiHeight, 0, GL_BGRA, GL_UNSIGNED_BYTE, a_ucTexture);
} else {
- if (w != uiWidth)
+ if (w != uiWidth)
oglPixelStorei(GL_UNPACK_ROW_LENGTH, uiWidth);
oglTexSubImage2D(GL_TEXTURE_2D, 0, x, y, w, h, GL_BGRA, GL_UNSIGNED_BYTE, a_ucTexture + 4 * (y * uiWidth + x));
- if (w != uiWidth)
+ if (w != uiWidth)
oglPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
}
}