diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-24 23:08:36 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-24 23:08:36 -0400 |
| commit | 81de64cafc8454488b945ad06dfa8c8b5f56b1c0 (patch) | |
| tree | 4a45ccb6841133d80c4f1bb8955871cbbef05b90 | |
| parent | 30a31b16172b99f9dac11a00874bce45f7b8cdb7 (diff) | |
More TODOs.
| -rw-r--r-- | area_windows.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/area_windows.go b/area_windows.go index d83cc0c..53c999a 100644 --- a/area_windows.go +++ b/area_windows.go @@ -127,6 +127,7 @@ func paintArea(s *sysData) { if r1 != 0 { // failure panic(fmt.Errorf("error freeing GDI+ graphics context to blit to (GDI+ error code %d; Windows last error %v)", r1, err)) } + // TODO this is the destructor of Image (Bitmap's base class); I don't see a specific destructor for Bitmap itself so r1, _, err = _gdipDisposeImage.Call(bitmap) if r1 != 0 { // failure panic(fmt.Errorf("error freeing GDI+ bitmap to blit (GDI+ error code %d; Windows last error %v)", r1, err)) |
