mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-19 20:34:26 +01:00
Fix some type conversion warnings.
This commit is contained in:
1 parent
2d4e491d56
commit
ca16eb2857
3 files changed
+4
-4
No files matched your search
@@ -515,7 +515,7 @@ static int VertexDataTypeToD3DType(T3DVertexDataType type) {
|
||||
|
||||
Thin3DDX9VertexFormat::Thin3DDX9VertexFormat(LPDIRECT3DDEVICE9 device, const std::vector<Thin3DVertexComponent> &components, int stride) : decl_(NULL) {
|
||||
D3DVERTEXELEMENT9 *elements = new D3DVERTEXELEMENT9[components.size() + 1];
|
||||
int i;
|
||||
size_t i;
|
||||
for (i = 0; i < components.size(); i++) {
|
||||
elements[i].Stream = 0;
|
||||
elements[i].Offset = components[i].offset;
|
||||
|
||||
Reference in new issue
Block a user