svga: Add missing include guards
Signed-off-by: Michał Janiszewski <janisozaur+signed@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
committed by
Brian Paul
parent
0654450911
commit
8ebd7039c4
@@ -31,6 +31,9 @@
|
||||
* Surface/format/image helper code.
|
||||
*/
|
||||
|
||||
#ifndef SVGA3D_SURFACEDEFS_H
|
||||
#define SVGA3D_SURFACEDEFS_H
|
||||
|
||||
#include "svga3d_reg.h"
|
||||
|
||||
#define max_t(type, x, y) ((x) > (y) ? (x) : (y))
|
||||
@@ -1145,3 +1148,5 @@ svga3dsurface_get_pixel_offset(SVGA3dSurfaceFormat format,
|
||||
x / bw * desc->bytes_per_block);
|
||||
return offset;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
*/
|
||||
|
||||
#ifndef VMW_SHADER_H_
|
||||
#define VMW_SHADER_H_
|
||||
|
||||
#include "pipe/p_compiler.h"
|
||||
#include "util/u_atomic.h"
|
||||
|
||||
Reference in New Issue
Block a user