Shader_IR: Allow constant access of guest driver.

This commit is contained in:
Fernando Sahmkow 2020-01-08 10:28:29 -04:00 committed by FernandoS27
parent dc5cfa8d28
commit b97608ca64
7 changed files with 18 additions and 1 deletions

View file

@ -81,7 +81,7 @@ public:
return bound_buffer;
}
VideoCore::GuestDriverProfile* AccessGuestDriverProfile() {
VideoCore::GuestDriverProfile* AccessGuestDriverProfile() const {
if (engine) {
return &(engine->AccessGuestDriverProfile());
}