diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 14:27:32 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 14:27:32 +0000 |
commit | 0e4f51331e2e7ca618f5abf52f9e05fa8ba0976d (patch) | |
tree | c720f0ea5f4c84e91823f521ee134c91e8445522 /goodies/source/base3d | |
parent | b8220c1d7513a535799e7aaeccab4359d5f37976 (diff) |
INTEGRATION: CWS ooo20040704 (1.3.206); FILE MERGED
2004/07/03 00:56:34 waratah 1.3.206.1: #i30874# Add initial values to potentially uninitialised values
Diffstat (limited to 'goodies/source/base3d')
-rw-r--r-- | goodies/source/base3d/b3dtex.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/goodies/source/base3d/b3dtex.cxx b/goodies/source/base3d/b3dtex.cxx index 5288cc285e41..96f8fcbcc420 100644 --- a/goodies/source/base3d/b3dtex.cxx +++ b/goodies/source/base3d/b3dtex.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b3dtex.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: aw $ $Date: 2001-06-26 14:01:48 $ + * last change: $Author: rt $ $Date: 2004-09-08 15:27:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1268,8 +1268,8 @@ void B3dTextureOpenGL::CreateOpenGLTexture(OpenGL& rOpenGL) rOpenGL.BindTexture(GL_TEXTURE_2D, nTextureName); // Jetzt ein glTexImage2D() ausfuehren - GLint nInternalFormat; - GLint nFormat; + GLint nInternalFormat = 0; + GLint nFormat = 0; switch(GetTextureKind()) { |