From 0de664d0a886bcda45a0cd05551b6896c5c46ed0 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sat, 14 Feb 2015 12:00:00 +0100 Subject: Import icculus.org release (2015-02-14) --- src/stubs.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/stubs.c') diff --git a/src/stubs.c b/src/stubs.c index b1be586..8733c41 100644 --- a/src/stubs.c +++ b/src/stubs.c @@ -167,25 +167,6 @@ void UnlockSurface() fprintf(stderr, "UnlockSurface()\n"); } -void ReleaseDDSurface(void* DDSurface) -{ -/* - fprintf(stderr, "ReleaseDDSurface(%p)\n", DDSurface); -*/ - D3DTexture *t = (D3DTexture *)DDSurface; - - if (t->id > 0) { - fprintf(stderr, "ReleaseDDSurface(%p) - OpenGL Object (tex = %d, %d, %d)\n", DDSurface, t->id, t->w, t->h); - } else { - if (t->buf) { - free(t->buf); - } else { - fprintf(stderr, "ReleaseDDSurface(%p) - What is This? (tex = %d, %d, %d)\n", DDSurface, t->id, t->w, t->h); - } - } - - free(t); -} BOOL ChangeDirectDrawObject() { -- cgit v1.3