Fix T102944: fix Cycles viewport issues on macOS + NVIDIA
Part of the workaround for NVIDIA driver issue got lost in the changes to switch to the GPU module. Differential Revision: https://developer.blender.org/D16709
This commit is contained in:
parent
0361afb165
commit
96b6ea9ee6
Notes:
blender-bot
2023-02-14 00:13:36 +01:00
Referenced by issue #102944, Cycles Viewport broken on 3.5.0 Alpha Master since 2022-12-01 build (MacBook Pro 15.4 Intel)
|
@ -809,6 +809,11 @@ void BlenderDisplayDriver::draw(const Params ¶ms)
|
|||
* is bound externally. */
|
||||
immBindShader(active_shader);
|
||||
|
||||
if (tiles_->current_tile.need_update_texture_pixels) {
|
||||
update_tile_texture_pixels(tiles_->current_tile);
|
||||
tiles_->current_tile.need_update_texture_pixels = false;
|
||||
}
|
||||
|
||||
draw_tile(zoom_, texcoord_attribute, position_attribute, tiles_->current_tile.tile);
|
||||
|
||||
for (const DrawTile &tile : tiles_->finished_tiles.tiles) {
|
||||
|
|
Loading…
Reference in New Issue