Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
4 years ago
Andrei Kortunov
3032b177a1
Remove redundant includes
6 years ago
Andrei Kortunov
e06f0b797a
Replace all NULLs to nullptr
6 years ago
Andrei Kortunov
1452684d9e
Use new logging system for components
6 years ago
Nikolay Kasyanov
75d79e98b9
Force software decompression if OPENMW_DECOMPRESS_TEXTURES is set
7 years ago
Nikolay Kasyanov
359f87ab9f
Change imageToSurface to return a unique_ptr to avoid manual surface cleanup
7 years ago
Nikolay Kasyanov
224b94c0ce
Decompress cursors using SDL software renderer on Mac or if OSG >= 3.5.8
7 years ago
Ilya Zhuravlev
a038327521
SDLCursorManager: fix possibly invalid read when no cursor present
...
On android we have no cursor so I moved the check closer to usage
7 years ago
Ilya Zhuravlev
d2121ccd62
Update android port.
7 years ago
scrawl
3b24bb9a5e
Use OS X cursor workaround for GL_VENDOR ATI and add an environment variable for control
8 years ago
scrawl
eaf3f5a829
Remove unused arguments
9 years ago
scrawl
6fc6913424
Do not set the cursor when creating it
9 years ago
scrawl
e8662bea31
Change the way that image origin is converted to OpenGL's lower-left convention
...
Flip the texture coordinates instead of flipping textures.
This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
9 years ago
scrawl
6f966b8434
Don't use osg::notify
9 years ago
Paul Cercueil
06719df868
Use the standard cursor if the custom cursor can't be used
...
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
9 years ago
scrawl
293f3f30b5
Indentation fix
9 years ago
sandstranger
238a5824be
add custom new variable fot Qt
9 years ago
sandstranger
bd5057aa3c
enable opengl es1
9 years ago
Nikolay Kasyanov
166df28906
OS X cursor workaround build fix
9 years ago
scrawl
4a68ceaeb7
Restrict the OS X cursor workaround to Intel graphics systems
10 years ago
scrawl
47ac20af40
Workaround flipped cursor on OS X
10 years ago
slothlife
420789baa9
Remove an unused include
10 years ago
slothlife
1b3cc957f8
Move some OSG static library setup code
10 years ago
slothlife
df99d5a59d
Move setup code for OSG when statically linked
10 years ago
scrawl
de6dc21552
Create hardware cursors in advance ( Fixes #2660 )
10 years ago
scrawl
35b2d91fb3
Throw error when failing to create graphics context
10 years ago
scrawl
1cdb440b77
glReadPixels *is* available on OpenGL ES
10 years ago
scrawl
314c1161ae
Minor addition to reading display
10 years ago
scrawl
99eb78fc19
Fix $DISPLAY not being accounted for in cursor decompression context
10 years ago
scrawl
5dd1b2ae86
Readded HW cursor rotation
10 years ago
scrawl
9ea416b852
Readded HW cursor manager (no image rotation yet)
10 years ago