Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Bug: QSGTextureMaterial MirroredRepeat invalid.
QtWS25 Last Chance

Bug: QSGTextureMaterial MirroredRepeat invalid.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 123 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nietao
    wrote on 29 Dec 2021, 10:23 last edited by
    #1

    Bug: QSGTextureMaterial MirroredRepeat invalid.

    QSGOpaqueTextureMaterial class declarations:

    uint m_horizontal_wrap : 1;
    uint m_vertical_wrap: 1;

    void setHorizontalWrapMode(QSGTexture::WrapMode mode) { m_horizontal_wrap = mode; }
    QSGTexture::WrapMode horizontalWrapMode() const { return QSGTexture::WrapMode(m_horizontal_wrap); }

    void setVerticalWrapMode(QSGTexture::WrapMode mode) { m_vertical_wrap = mode; }
    QSGTexture::WrapMode verticalWrapMode() const { return QSGTexture::WrapMode(m_vertical_wrap); }

    horizontalWrapMode() and verticalWrapMode() can never be MirroredRepeat.

    error: m_horizontal_wrap bit is 1, must be 2.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Dec 2021, 20:05 last edited by
      #2

      Hi,

      Looks like there might be an error in these variable declaration. Did you already check the bug report system for something like it ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      29 Dec 2021, 10:23

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved