зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1372870 - Compiling with mingw-w64 based on GCC 6.3.0 breaks (operands to ?: have different types) r=mattwoodrow
This commit is contained in:
Родитель
51fdc64d9e
Коммит
209eeeaf94
|
@ -239,7 +239,7 @@ public:
|
|||
virtual ID3D11ShaderResourceView* GetShaderResourceView() override;
|
||||
|
||||
// Returns nullptr if this texture was created by a DXGI TextureHost.
|
||||
virtual DataTextureSource* AsDataTextureSource() override { return mAllowTextureUploads ? this : false; }
|
||||
virtual DataTextureSource* AsDataTextureSource() override { return mAllowTextureUploads ? this : nullptr; }
|
||||
|
||||
virtual void DeallocateDeviceData() override { mTexture = nullptr; }
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче