removed name and binding from PrimitiveCreater::
This commit is contained in:
parent
4ebc8a3260
commit
2fdd7e7bd5
@ -15,8 +15,6 @@ namespace hgl
|
|||||||
{
|
{
|
||||||
struct PrimitiveVertexBuffer
|
struct PrimitiveVertexBuffer
|
||||||
{
|
{
|
||||||
AnsiString name;
|
|
||||||
int binding;
|
|
||||||
VBO * vbo;
|
VBO * vbo;
|
||||||
void * map_data;
|
void * map_data;
|
||||||
};//struct PrimitiveVertexBuffer
|
};//struct PrimitiveVertexBuffer
|
||||||
|
@ -41,8 +41,6 @@ namespace hgl
|
|||||||
|
|
||||||
pvb=new PrimitiveVertexBuffer;
|
pvb=new PrimitiveVertexBuffer;
|
||||||
|
|
||||||
pvb->name =name;
|
|
||||||
pvb->binding=vif->binding;
|
|
||||||
pvb->vbo =db->CreateVBO(vif->format,vertices_number,data);
|
pvb->vbo =db->CreateVBO(vif->format,vertices_number,data);
|
||||||
|
|
||||||
if(!data)
|
if(!data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user