From 4f5cb4051ad244ba9b15a952fc151ad6a54eee3a Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sat, 17 Nov 2018 20:24:01 +0800 Subject: pddrawsf3 fixes --- csrc/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csrc/font.c') diff --git a/csrc/font.c b/csrc/font.c index 76ada0a..6e86ee8 100644 --- a/csrc/font.c +++ b/csrc/font.c @@ -345,7 +345,7 @@ void draw_some_text(struct graph_st *gg, const char *str, int a3, int a4, int a5 } } fcn.004561be(&gst_4762e8, fmt_dim1.left, fmt_dim1.top, width, height, 0); - IDirectDrawSurface_Unlock(NULL); + IDirectDrawSurface_Unlock(pddrawsf3, NULL); } void deinit_font() -- cgit v1.2.3