parent
160abad592
commit
f11396767f
|
@ -85,7 +85,7 @@ namespace backend {
|
|||
mCurrentUsage(builder->mCurrentUsage) {
|
||||
}
|
||||
|
||||
DeviceBase* TextureBase::GetDevice() {
|
||||
DeviceBase* TextureBase::GetDevice() const {
|
||||
return mDevice;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ namespace backend {
|
|||
bool IsTransitionPossible(nxt::TextureUsageBit usage) const;
|
||||
void UpdateUsageInternal(nxt::TextureUsageBit usage);
|
||||
|
||||
DeviceBase* GetDevice();
|
||||
DeviceBase* GetDevice() const;
|
||||
|
||||
// NXT API
|
||||
TextureViewBuilder* CreateTextureViewBuilder();
|
||||
|
|
Loading…
Reference in New Issue