Merge pull request #273 from daemyung/dxview

Initialize member variables
This commit is contained in:
Syoyo Fujita 2020-07-03 15:38:46 +09:00 committed by GitHub
commit 2e642b3322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -664,6 +664,8 @@ struct Image {
width = -1;
height = -1;
component = -1;
bits = -1;
pixel_type = -1;
}
DEFAULT_METHODS(Image)
@ -996,6 +998,7 @@ struct Primitive {
Primitive() {
material = -1;
indices = -1;
mode = -1;
}
DEFAULT_METHODS(Primitive)
bool operator==(const Primitive &) const;