Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
reflectronic committed Jul 1, 2020
commit bc6ab5cceb331f65587bf8276154174fac13f6f8
8 changes: 5 additions & 3 deletions tests/testcachedbitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ static void test_create ()

static void test_delete ()
{
GpCachedBitmap *cachedBitmap;
GpBitmap *image;
GpGraphics *graphics = getImageGraphics ();
GpImage *image;
GpGraphics *graphics;
GpCachedBitmap* cachedBitmap;

graphics = getImageGraphics (&image);

C (GdipCreateCachedBitmap(image, graphics, &cachedBitmap));
C (GdipDeleteCachedBitmap(cachedBitmap));
Expand Down