DX9Texture.cpp 383 B

1234567891011121314151617181920
  1. #include "DX9Texture.h"
  2. using namespace Framework;
  3. Framework::DX9Texture::DX9Texture(TextureDirection dir)
  4. : Texture(dir)
  5. {}
  6. // Updates the texture. The pixels of the current image are copied into
  7. // the graphics memory
  8. bool DX9Texture::updateTextur()
  9. {
  10. return 1;
  11. }
  12. // Returns true if updateTextur needs to be called
  13. bool DX9Texture::needsUpdate() const
  14. {
  15. return 0;
  16. }