source: trunk/src/gpu/vertexbuffer.cpp @ 1225

Last change on this file since 1225 was 1225, checked in by sam, 9 years ago

gpu: fix compilation errors and warnings in the vertex declaration code.

File size: 830 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11#if defined HAVE_CONFIG_H
12#   include "config.h"
13#endif
14
15#include "core.h"
16#include "lolgl.h"
17
18using namespace std;
19
20namespace lol
21{
22
23/* For some reason defining this in the .h leads to duplicate definitions
24 * between the executable and the static library. */
25template<> void VertexBuffer::AddStream<void>(int n, int index)
26{
27    (void)index;
28    m_streams[n].size = 0;
29}
30
31void VertexBuffer::Initialize()
32{
33#if defined _XBOX || defined USE_D3D9
34   
35#endif
36}
37
38} /* namespace lol */
39
Note: See TracBrowser for help on using the repository browser.