forked from blender/blender
GPU: Shader Create Info GLSL-C++ stubs #3
@ -59,7 +59,7 @@ struct ObjectRef;
|
|||||||
/** \name Views
|
/** \name Views
|
||||||
* \{ */
|
* \{ */
|
||||||
|
|
||||||
#ifndef DRW_VIEW_LEN
|
#if !defined(DRW_VIEW_LEN) && !defined(GLSL_CPP_STUBS)
|
||||||
/* Single-view case (default). */
|
/* Single-view case (default). */
|
||||||
# define drw_view_id 0
|
# define drw_view_id 0
|
||||||
# define DRW_VIEW_LEN 1
|
# define DRW_VIEW_LEN 1
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifndef DRAW_VIEW_CREATE_INFO
|
#if !defined(DRAW_VIEW_CREATE_INFO) && !defined(GLSL_CPP_STUBS)
|
||||||
# error Missing draw_view additional create info on shader create info
|
# error Missing draw_view additional create info on shader create info
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user