forked from bartvdbraak/blender
BGE: Making sure m_drawingmode is initialized in the various RAS_Storage constructors.
This commit is contained in:
parent
411a49445f
commit
e131447582
@ -40,6 +40,7 @@ extern "C"{
|
||||
}
|
||||
|
||||
RAS_StorageIM::RAS_StorageIM(int *texco_num, RAS_IRasterizer::TexCoGen *texco, int *attrib_num, RAS_IRasterizer::TexCoGen *attrib, int *attrib_layer) :
|
||||
m_drawingmode(RAS_IRasterizer::KX_TEXTURED),
|
||||
m_texco_num(texco_num),
|
||||
m_attrib_num(attrib_num),
|
||||
m_texco(texco),
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "GL/glew.h"
|
||||
|
||||
RAS_StorageVA::RAS_StorageVA(int *texco_num, RAS_IRasterizer::TexCoGen *texco, int *attrib_num, RAS_IRasterizer::TexCoGen *attrib, int *attrib_layer) :
|
||||
m_drawingmode(RAS_IRasterizer::KX_TEXTURED),
|
||||
m_texco_num(texco_num),
|
||||
m_attrib_num(attrib_num),
|
||||
m_last_texco_num(0),
|
||||
|
@ -182,6 +182,7 @@ void VBO::Draw(int texco_num, RAS_IRasterizer::TexCoGen* texco, int attrib_num,
|
||||
}
|
||||
|
||||
RAS_StorageVBO::RAS_StorageVBO(int *texco_num, RAS_IRasterizer::TexCoGen *texco, int *attrib_num, RAS_IRasterizer::TexCoGen *attrib, int *attrib_layer):
|
||||
m_drawingmode(RAS_IRasterizer::KX_TEXTURED),
|
||||
m_texco_num(texco_num),
|
||||
m_attrib_num(attrib_num),
|
||||
m_texco(texco),
|
||||
|
Loading…
Reference in New Issue
Block a user