From 621fb5bd24b0e545c6c9ae615c26017376e4c366 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sun, 27 Jun 2010 03:36:39 +0000 Subject: [PATCH] zzogl-pg: Fix a silly typo. Issue 766. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3322 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zzogl-pg/opengl/targets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zzogl-pg/opengl/targets.h b/plugins/zzogl-pg/opengl/targets.h index 6c28815fe3..9ca62fe7f0 100644 --- a/plugins/zzogl-pg/opengl/targets.h +++ b/plugins/zzogl-pg/opengl/targets.h @@ -336,7 +336,7 @@ static __forceinline void Texture2D(GLint iFormat, GLenum format, GLenum type, c static __forceinline void Texture3D(GLint iFormat, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const GLvoid* pixels) { - glTexImage3D(GL_TEXTURE_2D, 0, iFormat, width, height, depth, 0, format, type, pixels); + glTexImage3D(GL_TEXTURE_3D, 0, iFormat, width, height, depth, 0, format, type, pixels); } static __forceinline void TextureRect(GLint iFormat, GLint width, GLint height, GLenum format, GLenum type, const GLvoid* pixels)