mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
Disable skin shader on VC4
This commit is contained in:
parent
7592dde85c
commit
1f01daa3c1
1 changed files with 3 additions and 0 deletions
3
vendor/librw/src/gl/gl3skin.cpp
vendored
3
vendor/librw/src/gl/gl3skin.cpp
vendored
|
|
@ -19,6 +19,8 @@
|
||||||
|
|
||||||
#include "rwgl3impl.h"
|
#include "rwgl3impl.h"
|
||||||
|
|
||||||
|
extern bool moreVram;
|
||||||
|
|
||||||
namespace rw {
|
namespace rw {
|
||||||
namespace gl3 {
|
namespace gl3 {
|
||||||
|
|
||||||
|
|
@ -340,6 +342,7 @@ skinClose(void *o, int32, int32)
|
||||||
void
|
void
|
||||||
initSkin(void)
|
initSkin(void)
|
||||||
{
|
{
|
||||||
|
if (moreVram) return; // TODO
|
||||||
u_boneMatrices = registerUniform("u_boneMatrices", UNIFORM_MAT4, MAX_BONES);
|
u_boneMatrices = registerUniform("u_boneMatrices", UNIFORM_MAT4, MAX_BONES);
|
||||||
|
|
||||||
Driver::registerPlugin(PLATFORM_GL3, 0, ID_SKIN,
|
Driver::registerPlugin(PLATFORM_GL3, 0, ID_SKIN,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue