diff options
Diffstat (limited to 'src/stubs.c')
| -rw-r--r-- | src/stubs.c | 19 |
1 files changed, 0 insertions, 19 deletions
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() { |
