This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
gallium: Detect if a null buffer is passed.
tags/mesa_20090313
José Fonseca
18 years ago
parent
af51d188c3
commit
39b8303d4a
1 changed files
with
3 additions
and
0 deletions
Split View
Show Diff Stats
3
0
src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
+ 3
- 0
src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
View File
@@ -230,6 +230,9 @@ fenced_buffer_create(struct fenced_buffer_list *fenced_list,
{
struct fenced_buffer *buf;
if(!buffer)
return NULL;
buf = (struct fenced_buffer *)calloc(1, sizeof(struct fenced_buffer));
if(!buf)
return NULL;
Write
Preview
Loading…
Cancel
Save