zink: remove c++ guard from zink_resource.h

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18135>
This commit is contained in:
Mike Blumenkrantz
2022-08-09 07:43:22 -04:00
committed by Marge Bot
parent 277590d3e4
commit 7172c8a421

View File

@@ -84,9 +84,6 @@ zink_is_swapchain(const struct zink_resource *res)
return res->swapchain;
}
#ifdef __cplusplus
}
#else
#include "zink_batch.h"
#include "zink_bo.h"
@@ -145,6 +142,8 @@ zink_resource_object_usage_unset(struct zink_resource_object *obj, struct zink_b
return zink_bo_usage_unset(obj->bo, bs);
}
#ifdef __cplusplus
}
#endif
#endif