Skip to content

Commit e7a211d

Browse files
author
di
committed
[WINDOW] fixed window resize on context request
1 parent ad233ca commit e7a211d

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

kernel/aboutboot.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

kernel/graph/tres.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void get_window_ctx(draw_ctx* out_ctx){
7171
if (node && node->data){
7272
window_frame* frame = (window_frame*)node->data;
7373
if (out_ctx->width && out_ctx->height)
74-
main_gpu_driver->resize_window(out_ctx->width, out_ctx->height, &frame->win_ctx);
74+
resize_window(out_ctx->width, out_ctx->height);
7575
*out_ctx = frame->win_ctx;
7676
frame->pid = p->id;
7777
}

0 commit comments

Comments
 (0)