Skip to content

Commit

Permalink
framebuffer: fix NULL framebuffer address
Browse files Browse the repository at this point in the history
  • Loading branch information
X547 committed Mar 11, 2023
1 parent 1b07b1f commit b0984af
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -103,7 +103,7 @@ remap_frame_buffer(framebuffer_info& info, addr_t physicalBase, uint32 width,
if (!info.complete_frame_buffer_mapped) {
addr_t base = physicalBase;
size_t size = bytesPerRow * height;
bool remap = !initializing;
bool remap = true;

if (info.physical_frame_buffer_size != 0) {
// we can map the complete frame buffer
Expand Down

0 comments on commit b0984af

Please sign in to comment.