Turn off reflection and shadow in simulate when a GPU is not present.
Note that The GLFW adapter currently assumes that a GPU is always present, so this new code path is never reached at the moment. PiperOrigin-RevId: 504617048 Change-Id: I04a323c33d9cff73686d39e4a6676ca6a4484c98
This commit is contained in:
committed by
Copybara-Service
parent
cd99fbd59d
commit
4b4ee27f64
@@ -46,6 +46,7 @@ class PlatformUIAdapter {
|
||||
virtual double GetDisplayPixelsPerInch() const = 0;
|
||||
virtual std::pair<int, int> GetFramebufferSize() const = 0;
|
||||
virtual std::pair<int, int> GetWindowSize() const = 0;
|
||||
virtual bool IsGPUAccelerated() const = 0;
|
||||
virtual void PollEvents() = 0;
|
||||
virtual void SetClipboardString(const char* text) = 0;
|
||||
virtual void SetVSync(bool enabled) = 0;
|
||||
|
||||
Reference in New Issue
Block a user