Last change
on this file since fccd588 was af116c0, checked in by Dmitry Portnoy <dmp1488@…>, 11 years ago |
new graphics library code
|
-
Property mode
set to
100644
|
File size:
489 bytes
|
Rev | Line | |
---|
[af116c0] | 1 | #ifndef TEXTURE_HPP
|
---|
| 2 | #define TEXTURE_HPP
|
---|
| 3 |
|
---|
| 4 | // Load a .BMP file using our custom loader
|
---|
| 5 | GLuint loadBMP_custom(const char * imagepath);
|
---|
| 6 |
|
---|
| 7 | //// Since GLFW 3, glfwLoadTexture2D() has been removed. You have to use another texture loading library,
|
---|
| 8 | //// or do it yourself (just like loadBMP_custom and loadDDS)
|
---|
| 9 | //// Load a .TGA file using GLFW's own loader
|
---|
| 10 | //GLuint loadTGA_glfw(const char * imagepath);
|
---|
| 11 |
|
---|
| 12 | // Load a .DDS file using GLFW's own loader
|
---|
| 13 | GLuint loadDDS(const char * imagepath);
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.