mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-05 22:41:09 +00:00
Fix compiler warnings in osd/ptexTextureLoader caused by incorrect const declarations
This commit is contained in:
parent
aed981f19c
commit
b227443390
@ -246,12 +246,12 @@ OsdPtexTextureLoader::~OsdPtexTextureLoader()
|
||||
ClearPages();
|
||||
}
|
||||
|
||||
const unsigned long int
|
||||
unsigned long int
|
||||
OsdPtexTextureLoader::GetNumBlocks( ) const {
|
||||
return (unsigned long int)_blocks.size();
|
||||
}
|
||||
|
||||
const unsigned long int
|
||||
unsigned long int
|
||||
OsdPtexTextureLoader::GetNumPages( ) const {
|
||||
return (unsigned long int)_pages.size();
|
||||
}
|
||||
|
@ -91,15 +91,15 @@ public:
|
||||
|
||||
~OsdPtexTextureLoader();
|
||||
|
||||
const unsigned short GetPageSize( ) const {
|
||||
unsigned short GetPageSize( ) const {
|
||||
return _pagesize;
|
||||
}
|
||||
|
||||
const unsigned long int GetNumBlocks( ) const;
|
||||
unsigned long int GetNumBlocks( ) const;
|
||||
|
||||
const unsigned long int GetNumPages( ) const;
|
||||
unsigned long int GetNumPages( ) const;
|
||||
|
||||
const unsigned int * GetIndexBuffer( ) const {
|
||||
unsigned int * GetIndexBuffer( ) const {
|
||||
return _indexBuffer;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user