Tested that texture scaling changes work
This commit is contained in:
@@ -29,7 +29,9 @@ void _standardShaderUpdateUniforms(standardshader_t *stds) {
|
||||
);
|
||||
}
|
||||
|
||||
bool _standardShaderOnAssetItemLoaded(void *u, event_t e, void *s[], int32_t c){
|
||||
bool _standardShaderOnAssetItemLoaded(
|
||||
void *u, event_t e, const void *s[], const int32_t c
|
||||
) {
|
||||
standardshader_t *ss = (standardshader_t *)u;
|
||||
|
||||
ASSERT_NOT_NULL(ss);
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "../assert/assert.h"
|
||||
|
||||
#define TEXTURE_SLOTS_MAX 8
|
||||
#define TEXTURE_CHANNELS 4
|
||||
|
||||
/** Texture slot that a texture can be bound to */
|
||||
typedef GLuint textureslot_t;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "../libs.h"
|
||||
#include "texture.h"
|
||||
|
||||
#define MANAGED_TEXTURE_SCALE_MAX 4
|
||||
#define MANAGED_TEXTURE_SCALE_MAX 5
|
||||
|
||||
typedef struct {
|
||||
int16_t width;
|
||||
|
||||
Reference in New Issue
Block a user