Subversion Repositories Kolibri OS

Rev

Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4358 Rev 4401
Line 38... Line 38...
38
#include "fd3_zsa.h"
38
#include "fd3_zsa.h"
Line 39... Line 39...
39
 
39
 
40
static void
40
static void
41
fd3_context_destroy(struct pipe_context *pctx)
41
fd3_context_destroy(struct pipe_context *pctx)
-
 
42
{
-
 
43
	struct fd3_context *fd3_ctx = fd3_context(fd_context(pctx));
42
{
44
 
-
 
45
	fd3_prog_fini(pctx);
-
 
46
 
-
 
47
	fd_bo_del(fd3_ctx->vs_pvt_mem);
-
 
48
	fd_bo_del(fd3_ctx->fs_pvt_mem);
-
 
49
	fd_bo_del(fd3_ctx->vsc_size_mem);
-
 
50
	fd_bo_del(fd3_ctx->vsc_pipe_mem);
-
 
51
 
-
 
52
	pipe_resource_reference(&fd3_ctx->solid_vbuf, NULL);
-
 
53
	pipe_resource_reference(&fd3_ctx->blit_texcoord_vbuf, NULL);
43
	fd3_prog_fini(pctx);
54
 
44
	fd_context_destroy(pctx);
55
	fd_context_destroy(pctx);
Line 45... Line 56...
45
}
56
}
46
 
57