Minor fixes.

This commit is contained in:
Ben Vanik
2013-10-12 03:02:39 -07:00
parent 8e01e2d945
commit 51b79cb399
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ Shader::Shader(
XE_GPU_SHADER_TYPE type,
const uint8_t* src_ptr, size_t length,
uint64_t hash) :
type_(type), hash_(hash) {
type_(type), hash_(hash), is_prepared_(false) {
// Verify.
dword_count_ = length / 4;
XEASSERT(dword_count_ <= 512);