mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 01:00:47 +02:00
Fix comments
This commit is contained in:
parent
d090ac4396
commit
8d45c4da7c
1 changed files with 2 additions and 1 deletions
|
@ -469,6 +469,7 @@ void NetworkTexture::startMipRangeRequest(uint16_t low, uint16_t high) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// This is called when the header or top mips have been loaded
|
||||||
void NetworkTexture::ktxInitialDataRequestFinished() {
|
void NetworkTexture::ktxInitialDataRequestFinished() {
|
||||||
if (!_ktxHeaderRequest || _ktxHeaderRequest->getState() != ResourceRequest::Finished ||
|
if (!_ktxHeaderRequest || _ktxHeaderRequest->getState() != ResourceRequest::Finished ||
|
||||||
!_ktxMipRequest || _ktxMipRequest->getState() != ResourceRequest::Finished) {
|
!_ktxMipRequest || _ktxMipRequest->getState() != ResourceRequest::Finished) {
|
||||||
|
@ -604,7 +605,7 @@ void NetworkTexture::ktxMipRequestFinished() {
|
||||||
_ktxMipRequest = nullptr;
|
_ktxMipRequest = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is called when the header or top mips have been loaded
|
// This is called when the header and top mips have been loaded
|
||||||
void NetworkTexture::handleFinishedInitialLoad() {
|
void NetworkTexture::handleFinishedInitialLoad() {
|
||||||
Q_ASSERT(_ktxResourceState == LOADING_INITIAL_DATA);
|
Q_ASSERT(_ktxResourceState == LOADING_INITIAL_DATA);
|
||||||
Q_ASSERT(!_ktxHeaderData.isEmpty() && !_ktxHighMipData.isEmpty());
|
Q_ASSERT(!_ktxHeaderData.isEmpty() && !_ktxHighMipData.isEmpty());
|
||||||
|
|
Loading…
Reference in a new issue