forked from organicmaps/organicmaps
minor fixes
This commit is contained in:
parent
4188adad17
commit
fe9b9bfc13
3 changed files with 10 additions and 5 deletions
|
@ -66,7 +66,8 @@ SOURCES += \
|
|||
data_formats.cpp \
|
||||
image_info.cpp \
|
||||
image_renderer.cpp \
|
||||
display_list_renderer.cpp
|
||||
display_list_renderer.cpp \
|
||||
vertex_decl.cpp \
|
||||
render_context.cpp \
|
||||
coordinates.cpp \
|
||||
render_target.cpp \
|
||||
|
@ -129,7 +130,8 @@ HEADERS += \
|
|||
display_list.hpp \
|
||||
image_renderer.hpp \
|
||||
image_info.hpp \
|
||||
display_list_renderer.hpp
|
||||
display_list_renderer.hpp \
|
||||
vertex_decl.hpp \
|
||||
render_context.hpp \
|
||||
coordinates.hpp \
|
||||
|
||||
|
|
|
@ -2,14 +2,16 @@
|
|||
|
||||
namespace graphics
|
||||
{
|
||||
VertexAttrib::VertexAttrib(size_t offset,
|
||||
VertexAttrib::VertexAttrib(char const * name,
|
||||
size_t offset,
|
||||
EDataType elemType,
|
||||
size_t elemCount,
|
||||
size_t stride)
|
||||
: m_offset(offset),
|
||||
m_elemType(elemType),
|
||||
m_elemCount(elemCount),
|
||||
m_stride(stride)
|
||||
m_stride(stride),
|
||||
m_name(name)
|
||||
{}
|
||||
|
||||
VertexDecl::VertexDecl(VertexAttrib const * attrs, size_t cnt)
|
||||
|
|
|
@ -16,7 +16,8 @@ namespace graphics
|
|||
size_t m_stride;
|
||||
string m_name;
|
||||
|
||||
VertexAttrib(size_t offset,
|
||||
VertexAttrib(char const * name,
|
||||
size_t offset,
|
||||
EDataType elemType,
|
||||
size_t elemCount,
|
||||
size_t stride);
|
||||
|
|
Loading…
Add table
Reference in a new issue