spegling av
https://github.com/minetest/irrlicht.git
synced 2025-09-16 21:36:59 +02:00
Fix getViewPort
returning incorrect results
This commit is contained in:
committad av
GitHub
förälder
b43f9b96e0
incheckning
78d1a3f73e
@@ -428,7 +428,7 @@ namespace video
|
||||
virtual ITexture* createDeviceDependentTexture(const io::path& name, IImage* image) _IRR_OVERRIDE_;
|
||||
|
||||
virtual ITexture* createDeviceDependentTextureCubemap(const io::path& name, const core::array<IImage*>& image) _IRR_OVERRIDE_;
|
||||
|
||||
|
||||
//! creates a transposed matrix in supplied GLfloat array to pass to OpenGL
|
||||
inline void getGLMatrix(GLfloat gl_matrix[16], const core::matrix4& m);
|
||||
inline void getGLTextureMatrix(GLfloat gl_matrix[16], const core::matrix4& m);
|
||||
@@ -456,6 +456,9 @@ namespace video
|
||||
void renderArray(const void* indexList, u32 primitiveCount,
|
||||
scene::E_PRIMITIVE_TYPE pType, E_INDEX_TYPE iType);
|
||||
|
||||
//! Same as `CacheHandler->setViewport`, but also sets `ViewPort`
|
||||
virtual void setViewPortRaw(u32 width, u32 height);
|
||||
|
||||
COpenGLCacheHandler* CacheHandler;
|
||||
|
||||
core::stringw Name;
|
||||
|
Referens i nytt ärende
Block a user