mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
0654450911
commit
8ebd7039c4
2 changed files with 6 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue