Split stb_image into h/c
This commit is contained in:
@@ -1,18 +1,12 @@
|
||||
#include "engine.h"
|
||||
|
||||
#define CGLTF_IMPLEMENTATION
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#define STB_DS_IMPLEMENTATION
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include <stb_ds.h>
|
||||
|
||||
#ifdef EDITOR
|
||||
#include "editor.h"
|
||||
#endif
|
||||
|
||||
#include <stb_ds.h>
|
||||
#include <stb_image.h>
|
||||
#include <pl_mpeg.h>
|
||||
|
||||
#include "render.h"
|
||||
|
||||
#include "openglrender.h"
|
||||
|
||||
@@ -174,7 +174,7 @@ void toggleprefab(struct mGameObject *go)
|
||||
}
|
||||
}
|
||||
|
||||
void component_update(struct component *c)
|
||||
void sdDCC Q(struct component *c)
|
||||
{
|
||||
if (c->update)
|
||||
c->update(c->data, c->go);
|
||||
|
||||
@@ -1892,4 +1892,4 @@ AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
------------------------------------------------------------------------------
|
||||
*/
|
||||
*/
|
||||
7358
source/engine/thirdparty/stb/include/stb_image.h
vendored
7358
source/engine/thirdparty/stb/include/stb_image.h
vendored
File diff suppressed because it is too large
Load Diff
7351
source/engine/thirdparty/stb/stb_image.c
vendored
Executable file
7351
source/engine/thirdparty/stb/stb_image.c
vendored
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user