[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master 2700858: * graph/batch/grbatch.c (gr_batch_surf
From: |
Alexei Podtelezhnikov |
Subject: |
[freetype2-demos] master 2700858: * graph/batch/grbatch.c (gr_batch_surface_refresh_rect): Remove. |
Date: |
Sun, 9 Jun 2019 22:03:26 -0400 (EDT) |
branch: master
commit 270085844c5fd2c7f78fe0f6c8e66bd874068d09
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>
* graph/batch/grbatch.c (gr_batch_surface_refresh_rect): Remove.
---
ChangeLog | 4 ++++
graph/batch/grbatch.c | 21 ++-------------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 29f666e..ed84f27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2019-06-09 Alexei Podtelezhnikov <address@hidden>
+ * graph/batch/grbatch.c (gr_batch_surface_refresh_rect): Remove.
+
+2019-06-09 Alexei Podtelezhnikov <address@hidden>
+
* src/ftcommon.[hc] (FTDemo_Display_Print): Use `const' qualifier.
* src/ftdump.c (Print_Bytecode): Ditto.
* src/ftmulti.c (new_header): Ditto.
diff --git a/graph/batch/grbatch.c b/graph/batch/grbatch.c
index cafe289..45351f4 100644
--- a/graph/batch/grbatch.c
+++ b/graph/batch/grbatch.c
@@ -47,23 +47,6 @@
static void
- gr_batch_surface_refresh_rect( grSurface* surface,
- int x,
- int y,
- int width,
- int height )
- {
- /* no screen or window to refresh */
-
- (void)surface; /* unused */
- (void)x;
- (void)y;
- (void)width;
- (void)height;
- }
-
-
- static void
gr_batch_surface_done( grSurface* surface )
{
grDoneBitmap( &(surface->bitmap) );
@@ -90,7 +73,7 @@
grBitmap* bitmap )
{
if ( grNewBitmap( bitmap->mode, bitmap->grays,
- bitmap->width, bitmap->rows, bitmap) )
+ bitmap->width, bitmap->rows, bitmap ) )
return 0;
surface->bitmap = *bitmap;
@@ -99,7 +82,7 @@
surface->saturation = 0;
surface->blit_mono = 0;
- surface->refresh_rect = gr_batch_surface_refresh_rect;
+ surface->refresh_rect = (grRefreshRectFunc)NULL; /* nothing to refresh */
surface->set_title = gr_batch_surface_set_title;
surface->listen_event = gr_batch_surface_listen_event;
surface->done = gr_batch_surface_done;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master 2700858: * graph/batch/grbatch.c (gr_batch_surface_refresh_rect): Remove.,
Alexei Podtelezhnikov <=