diff options
Diffstat (limited to 'o3d')
-rw-r--r-- | o3d/core/cross/message_queue.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/core/cross/message_queue.cc b/o3d/core/cross/message_queue.cc index 9b6e6bf..8cda470 100644 --- a/o3d/core/cross/message_queue.cc +++ b/o3d/core/cross/message_queue.cc @@ -664,9 +664,9 @@ bool MessageQueue::ProcessMessageUpdateTexture2DRect( return false; } - unsigned int mip_width = + int mip_width = image::ComputeMipDimension(message.level, texture_object->width()); - unsigned int mip_height = + int mip_height = image::ComputeMipDimension(message.level, texture_object->height()); if (message.x < 0 || message.width < 0 || |