Import icculus.org release (2015-02-14)
This commit is contained in:
parent
22475d6d94
commit
0de664d0a8
24 changed files with 1874 additions and 1400 deletions
19
src/stubs.c
19
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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue