Fix calling the right overloaded method for getting a cube map face's render target.

TRAC #22705 Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2416 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent ec61db0b
#include "precompiled.h"
//
// Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
// Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
......@@ -104,7 +104,7 @@ TextureStorageInterfaceCube::~TextureStorageInterfaceCube()
RenderTarget *TextureStorageInterfaceCube::getRenderTarget(GLenum faceTarget) const
{
return mInstance->getRenderTarget(faceTarget);
return mInstance->getRenderTarget(faceTarget, 0);
}
void TextureStorageInterfaceCube::generateMipmap(int face, int level)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment