summaryrefslogtreecommitdiff
path: root/src/stubs.c
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2015-02-14 12:00:00 +0100
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 03:51:33 +0200
commit0de664d0a886bcda45a0cd05551b6896c5c46ed0 (patch)
tree50127b6ec478d76bc714dbfda69602610334ed0c /src/stubs.c
parent22475d6d94e96056d1550dca00b32d00e3821649 (diff)
Import icculus.org release (2015-02-14)
Diffstat (limited to 'src/stubs.c')
-rw-r--r--src/stubs.c19
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()
{